summaryrefslogtreecommitdiff
path: root/src/include/commands/tablecmds.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-03-19 18:38:30 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-03-19 18:38:30 +0000
commit5507b22dfcde9f86590e3904f6279d3600abe1b7 (patch)
tree3e444909aee980f97190e04ce099e8dfef452f7b /src/include/commands/tablecmds.h
parenta9686591d7fa79a39e704c2585ebcd8da80d3e72 (diff)
Support ALTER TYPE RENAME. Petr Jelinek
Diffstat (limited to 'src/include/commands/tablecmds.h')
-rw-r--r--src/include/commands/tablecmds.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/commands/tablecmds.h b/src/include/commands/tablecmds.h
index e9c965439ce..700c1bd42ef 100644
--- a/src/include/commands/tablecmds.h
+++ b/src/include/commands/tablecmds.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/commands/tablecmds.h,v 1.37 2008/01/30 19:46:48 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/commands/tablecmds.h,v 1.38 2008/03/19 18:38:30 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -44,10 +44,14 @@ extern void renameatt(Oid myrelid,
bool recurse,
bool recursing);
-extern void renamerel(Oid myrelid,
+extern void RenameRelation(Oid myrelid,
const char *newrelname,
ObjectType reltype);
+extern void RenameRelationInternal(Oid myrelid,
+ const char *newrelname,
+ Oid namespaceId);
+
extern void find_composite_type_dependencies(Oid typeOid,
const char *origTblName,
const char *origTypeName);