summaryrefslogtreecommitdiff
path: root/src/include/commands/rename.h
blob: 28aebc01d91b769b9b5134c92d2d1fea99ef6d58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*-------------------------------------------------------------------------
 *
 * rename.h
 *
 *
 *
 * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * $Id: rename.h,v 1.15 2002/03/29 19:06:22 tgl Exp $
 *
 *-------------------------------------------------------------------------
 */
#ifndef RENAME_H
#define RENAME_H

extern void renameatt(Oid relid,
		  char *oldattname,
		  char *newattname,
		  bool recurse);

extern void renamerel(const RangeVar *relation,
		  const char *newrelname);

#endif   /* RENAME_H */