diff options
Diffstat (limited to 'src/include/commands/typecmds.h')
-rw-r--r-- | src/include/commands/typecmds.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/commands/typecmds.h b/src/include/commands/typecmds.h index b72cfc4fd94..2351024c221 100644 --- a/src/include/commands/typecmds.h +++ b/src/include/commands/typecmds.h @@ -15,6 +15,7 @@ #define TYPECMDS_H #include "access/htup.h" +#include "catalog/dependency.h" #include "nodes/parsenodes.h" @@ -45,9 +46,10 @@ extern void AlterTypeOwner(List *names, Oid newOwnerId, ObjectType objecttype); extern void AlterTypeOwnerInternal(Oid typeOid, Oid newOwnerId, bool hasDependEntry); extern void AlterTypeNamespace(List *names, const char *newschema, ObjectType objecttype); -extern Oid AlterTypeNamespace_oid(Oid typeOid, Oid nspOid); -extern Oid AlterTypeNamespaceInternal(Oid typeOid, Oid nspOid, +extern Oid AlterTypeNamespace_oid(Oid typeOid, Oid nspOid, ObjectAddresses *objsMoved); +extern Oid AlterTypeNamespaceInternal(Oid typeOid, Oid nspOid, bool isImplicitArray, - bool errorOnTableType); + bool errorOnTableType, + ObjectAddresses *objsMoved); #endif /* TYPECMDS_H */ |