aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands/typecmds.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/typecmds.h
parenta9686591d7fa79a39e704c2585ebcd8da80d3e72 (diff)
downloadpostgresql-5507b22dfcde9f86590e3904f6279d3600abe1b7.tar.gz
postgresql-5507b22dfcde9f86590e3904f6279d3600abe1b7.zip
Support ALTER TYPE RENAME. Petr Jelinek
Diffstat (limited to 'src/include/commands/typecmds.h')
-rw-r--r--src/include/commands/typecmds.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/commands/typecmds.h b/src/include/commands/typecmds.h
index 71d0ceefa81..ce807b56d08 100644
--- a/src/include/commands/typecmds.h
+++ b/src/include/commands/typecmds.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/typecmds.h,v 1.22 2008/01/01 19:45:57 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/commands/typecmds.h,v 1.23 2008/03/19 18:38:30 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -35,6 +35,7 @@ extern void AlterDomainDropConstraint(List *names, const char *constrName,
extern List *GetDomainConstraints(Oid typeOid);
+extern void RenameType(List *names, const char *newTypeName);
extern void AlterTypeOwner(List *names, Oid newOwnerId);
extern void AlterTypeOwnerInternal(Oid typeOid, Oid newOwnerId,
bool hasDependEntry);