mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
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
This commit is contained in:
@ -1376,6 +1376,7 @@ CreateExtension(CreateExtensionStmt *stmt)
|
||||
csstmt->schemaname = schemaName;
|
||||
csstmt->authid = NULL; /* will be created by current user */
|
||||
csstmt->schemaElts = NIL;
|
||||
csstmt->if_not_exists = false;
|
||||
CreateSchemaCommand(csstmt, NULL);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user