diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-01-06 00:31:45 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-01-06 00:31:45 +0000 |
commit | daec989f6a763c9353ba2912b92f5b03c0246c1f (patch) | |
tree | 7a34c6567dbf1d2b1fb97277515bf86d2d9b8445 /src/include | |
parent | 1bf1597e3ac2b2c664aebc56aaab5bd78fd48a50 (diff) | |
download | postgresql-daec989f6a763c9353ba2912b92f5b03c0246c1f.tar.gz postgresql-daec989f6a763c9353ba2912b92f5b03c0246c1f.zip |
ALTER DOMAIN OWNER, from Rod Taylor.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/commands/typecmds.h | 6 | ||||
-rw-r--r-- | src/include/nodes/parsenodes.h | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/include/commands/typecmds.h b/src/include/commands/typecmds.h index 2757d54276d..8f21aef7f41 100644 --- a/src/include/commands/typecmds.h +++ b/src/include/commands/typecmds.h @@ -7,15 +7,17 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: typecmds.h,v 1.2 2002/12/10 16:12:53 tgl Exp $ + * $Id: typecmds.h,v 1.3 2003/01/06 00:31:44 tgl Exp $ * *------------------------------------------------------------------------- */ #ifndef TYPECMDS_H #define TYPECMDS_H +#include "miscadmin.h" #include "nodes/parsenodes.h" + #define DEFAULT_TYPDELIM ',' extern void DefineType(List *names, List *parameters); @@ -31,4 +33,6 @@ extern void AlterDomainAddConstraint(List *names, Node *constr); extern void AlterDomainDropConstraint(List *names, const char *constrName, DropBehavior behavior); +extern void AlterTypeOwner(List *names, AclId newOwnerSysId); + #endif /* TYPECMDS_H */ diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 0f9b7613a00..6ca3894b0da 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: parsenodes.h,v 1.224 2002/12/30 15:31:51 momjian Exp $ + * $Id: parsenodes.h,v 1.225 2003/01/06 00:31:45 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -711,7 +711,7 @@ typedef struct AlterTableStmt * Alter Domain * * The fields are used in different ways by the different variants of - * this command. Subtypes should match AlterTable subtypes + * this command. Subtypes should match AlterTable subtypes where possible. * ---------------------- */ typedef struct AlterDomainStmt |