diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2005-11-19 17:39:45 +0000 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2005-11-19 17:39:45 +0000 |
commit | daea4d8eaee010f41e46bb98cd1b2da2f9fb75d9 (patch) | |
tree | a7232bf09a071a87a955337395b9cefd4a62a8e8 /src/include/commands | |
parent | 8ef289dba12f16f3692c235863a887672499a5d9 (diff) | |
download | postgresql-daea4d8eaee010f41e46bb98cd1b2da2f9fb75d9.tar.gz postgresql-daea4d8eaee010f41e46bb98cd1b2da2f9fb75d9.zip |
DROP objecttype IF EXISTS for the following objects:
table view index sequence schema type domain conversion
Diffstat (limited to 'src/include/commands')
-rw-r--r-- | src/include/commands/conversioncmds.h | 5 | ||||
-rw-r--r-- | src/include/commands/schemacmds.h | 4 | ||||
-rw-r--r-- | src/include/commands/typecmds.h | 6 |
3 files changed, 8 insertions, 7 deletions
diff --git a/src/include/commands/conversioncmds.h b/src/include/commands/conversioncmds.h index b64b361d27a..f484ceaff2c 100644 --- a/src/include/commands/conversioncmds.h +++ b/src/include/commands/conversioncmds.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/commands/conversioncmds.h,v 1.10 2005/06/28 05:09:12 tgl Exp $ + * $PostgreSQL: pgsql/src/include/commands/conversioncmds.h,v 1.11 2005/11/19 17:39:45 adunstan Exp $ * *------------------------------------------------------------------------- */ @@ -18,7 +18,8 @@ #include "nodes/parsenodes.h" extern void CreateConversionCommand(CreateConversionStmt *parsetree); -extern void DropConversionCommand(List *conversion_name, DropBehavior behavior); +extern void DropConversionCommand(List *conversion_name, + DropBehavior behavior, bool missing_ok); extern void RenameConversion(List *name, const char *newname); extern void AlterConversionOwner(List *name, Oid newOwnerId); diff --git a/src/include/commands/schemacmds.h b/src/include/commands/schemacmds.h index 4528591b3cb..f47baf6ef3b 100644 --- a/src/include/commands/schemacmds.h +++ b/src/include/commands/schemacmds.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/commands/schemacmds.h,v 1.10 2005/06/28 05:09:12 tgl Exp $ + * $PostgreSQL: pgsql/src/include/commands/schemacmds.h,v 1.11 2005/11/19 17:39:45 adunstan Exp $ * *------------------------------------------------------------------------- */ @@ -19,7 +19,7 @@ extern void CreateSchemaCommand(CreateSchemaStmt *parsetree); -extern void RemoveSchema(List *names, DropBehavior behavior); +extern void RemoveSchema(List *names, DropBehavior behavior, bool missing_ok); extern void RemoveSchemaById(Oid schemaOid); extern void RenameSchema(const char *oldname, const char *newname); diff --git a/src/include/commands/typecmds.h b/src/include/commands/typecmds.h index 53632906a1c..f5f4ff05928 100644 --- a/src/include/commands/typecmds.h +++ b/src/include/commands/typecmds.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/commands/typecmds.h,v 1.14 2005/10/15 02:49:44 momjian Exp $ + * $PostgreSQL: pgsql/src/include/commands/typecmds.h,v 1.15 2005/11/19 17:39:45 adunstan Exp $ * *------------------------------------------------------------------------- */ @@ -20,10 +20,10 @@ #define DEFAULT_TYPDELIM ',' extern void DefineType(List *names, List *parameters); -extern void RemoveType(List *names, DropBehavior behavior); +extern void RemoveType(List *names, DropBehavior behavior, bool missing_ok); extern void RemoveTypeById(Oid typeOid); extern void DefineDomain(CreateDomainStmt *stmt); -extern void RemoveDomain(List *names, DropBehavior behavior); +extern void RemoveDomain(List *names, DropBehavior behavior, bool missing_ok); extern Oid DefineCompositeType(const RangeVar *typevar, List *coldeflist); extern void AlterDomainDefault(List *names, Node *defaultRaw); |