pgsql: Support CREATE SCHEMA IF NOT EXISTS. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Support CREATE SCHEMA IF NOT EXISTS.
Date
Msg-id E1TJYf0-00014M-Om@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/fb34e94d214d6767910df47aa7c605c452d11c57

Modified Files
--------------
doc/src/sgml/ref/create_schema.sgml     |   27 +++++++++++++++++++++++
src/backend/commands/extension.c        |    1 +
src/backend/commands/schemacmds.c       |   17 +++++++++++++++
src/backend/nodes/copyfuncs.c           |    1 +
src/backend/nodes/equalfuncs.c          |    1 +
src/backend/parser/gram.y               |   35 +++++++++++++++++++++++++++++++
src/include/nodes/parsenodes.h          |    1 +
src/test/regress/expected/namespace.out |   13 +++++++++++
src/test/regress/sql/namespace.sql      |    9 ++++++++
9 files changed, 105 insertions(+), 0 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: refactor ALTER some-obj SET OWNER implementation
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix typo in comment, and reword it slightly while we're at it.