aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands/typecmds.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-12-22 22:43:56 +0200
committerPeter Eisentraut <peter_e@gmx.net>2011-12-22 22:43:56 +0200
commitf90dd28062db2128a340fbe02f55829f15ab5561 (patch)
tree06636b98c913bfde151cc5ce2d62649f4a14eedb /src/include/commands/typecmds.h
parent8d15e3ec4fcb735875a8a70a09ec0c62153c3329 (diff)
downloadpostgresql-f90dd28062db2128a340fbe02f55829f15ab5561.tar.gz
postgresql-f90dd28062db2128a340fbe02f55829f15ab5561.zip
Add ALTER DOMAIN ... RENAME
You could already rename domains using ALTER TYPE, but with this new command it is more consistent with how other commands treat domains as a subcategory of types.
Diffstat (limited to 'src/include/commands/typecmds.h')
-rw-r--r--src/include/commands/typecmds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/commands/typecmds.h b/src/include/commands/typecmds.h
index 0c328958635..0dcbcd6cfb4 100644
--- a/src/include/commands/typecmds.h
+++ b/src/include/commands/typecmds.h
@@ -37,7 +37,7 @@ extern void AlterDomainDropConstraint(List *names, const char *constrName,
extern List *GetDomainConstraints(Oid typeOid);
-extern void RenameType(List *names, const char *newTypeName);
+extern void RenameType(RenameStmt *stmt);
extern void AlterTypeOwner(List *names, Oid newOwnerId);
extern void AlterTypeOwnerInternal(Oid typeOid, Oid newOwnerId,
bool hasDependEntry);