diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-10-03 19:47:11 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-10-03 19:47:11 -0400 |
commit | fb34e94d214d6767910df47aa7c605c452d11c57 (patch) | |
tree | 2e8a4161779f1a32c556b6e4acc5db4cb783db17 /src/include | |
parent | 994c36e01d19dece2b0c76fb781e1d08a6e1c814 (diff) |
Support CREATE SCHEMA IF NOT EXISTS.
Per discussion, schema-element subcommands are not allowed together with
this option, since it's not very obvious what should happen to the element
objects.
FabrÃzio de Royes Mello
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/nodes/parsenodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index e10e3a1b345..09b15e7694c 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -1157,6 +1157,7 @@ typedef struct CreateSchemaStmt char *schemaname; /* the name of the schema to create */ char *authid; /* the owner of the created schema */ List *schemaElts; /* schema components (list of parsenodes) */ + bool if_not_exists; /* just do nothing if schema already exists? */ } CreateSchemaStmt; typedef enum DropBehavior |