Support CREATE SCHEMA IF NOT EXISTS.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/create_schema.sgml | modified | +27 −0 |
| src/backend/commands/extension.c | modified | +1 −0 |
| src/backend/commands/schemacmds.c | modified | +17 −0 |
| src/backend/nodes/copyfuncs.c | modified | +1 −0 |
| src/backend/nodes/equalfuncs.c | modified | +1 −0 |
| src/backend/parser/gram.y | modified | +35 −0 |
| src/include/nodes/parsenodes.h | modified | +1 −0 |
| src/test/regress/expected/namespace.out | modified | +13 −0 |
| src/test/regress/sql/namespace.sql | modified | +9 −0 |