diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2006-06-16 20:23:45 +0000 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2006-06-16 20:23:45 +0000 |
commit | bbcd01692bff099117f5afb0fe2d1ad182621766 (patch) | |
tree | 07aebd51aac35be3e0e4471cbff7595a35350d67 /src/include/nodes/parsenodes.h | |
parent | e79cc2db00501fb29e3e0225182147192e830fa1 (diff) |
DROP ... IF EXISTS for the following cases:
language, tablespace, trigger, rule, opclass, function, aggregate. operator, and cast.
Diffstat (limited to 'src/include/nodes/parsenodes.h')
-rw-r--r-- | src/include/nodes/parsenodes.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 896b426370d..56d41a2fd8d 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.310 2006/04/30 18:30:40 tgl Exp $ + * $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.311 2006/06/16 20:23:45 adunstan Exp $ * *------------------------------------------------------------------------- */ @@ -1131,6 +1131,7 @@ typedef struct DropTableSpaceStmt { NodeTag type; char *tablespacename; + bool missing_ok; /* skip error if a missing? */ } DropTableSpaceStmt; /* ---------------------- @@ -1175,6 +1176,7 @@ typedef struct DropPLangStmt NodeTag type; char *plname; /* PL name */ DropBehavior behavior; /* RESTRICT or CASCADE behavior */ + bool missing_ok; /* skip error if missing? */ } DropPLangStmt; /* ---------------------- @@ -1329,6 +1331,7 @@ typedef struct DropPropertyStmt char *property; /* name of rule, trigger, etc */ ObjectType removeType; /* OBJECT_RULE or OBJECT_TRIGGER */ DropBehavior behavior; /* RESTRICT or CASCADE behavior */ + bool missing_ok; /* skip error if a missing? */ } DropPropertyStmt; /* ---------------------- @@ -1477,6 +1480,7 @@ typedef struct RemoveFuncStmt List *name; /* qualified name of object to drop */ List *args; /* types of the arguments */ DropBehavior behavior; /* RESTRICT or CASCADE behavior */ + bool missing_ok; /* skip error if a missing? */ } RemoveFuncStmt; /* ---------------------- @@ -1489,6 +1493,7 @@ typedef struct RemoveOpClassStmt List *opclassname; /* qualified name (list of Value strings) */ char *amname; /* name of index AM opclass is for */ DropBehavior behavior; /* RESTRICT or CASCADE behavior */ + bool missing_ok; /* skip error if a missing? */ } RemoveOpClassStmt; /* ---------------------- @@ -1846,6 +1851,7 @@ typedef struct DropCastStmt TypeName *sourcetype; TypeName *targettype; DropBehavior behavior; + bool missing_ok; /* skip error if a missing? */ } DropCastStmt; |