From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Allow CREATE TABLE IF EXIST so succeed if the schema is nonexist |
Date: | 2013-01-26 18:24:55 |
Message-ID: | E1TzAQx-0002zA-NZ@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Allow CREATE TABLE IF EXIST so succeed if the schema is nonexistent
Previously, CREATE TABLE IF EXIST threw an error if the schema was
nonexistent. This was done by passing 'missing_ok' to the function that
looks up the schema oid.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/7e2322dff30c04d90c0602d2b5ae24b4881db88b
Modified Files
--------------
src/backend/catalog/aclchk.c | 2 +-
src/backend/catalog/namespace.c | 86 +++++++++++++++++++++++------------
src/backend/commands/indexcmds.c | 2 +-
src/backend/commands/opclasscmds.c | 4 +-
src/backend/commands/trigger.c | 3 +-
src/backend/parser/parse_oper.c | 2 +-
src/backend/parser/parse_type.c | 2 +-
src/backend/utils/adt/xml.c | 6 +-
src/include/catalog/namespace.h | 2 +-
9 files changed, 68 insertions(+), 41 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Jaime Casanova | 2013-01-26 18:30:53 | Re: pgsql: Allow CREATE TABLE IF EXIST so succeed if the schema is nonexist |
Previous Message | Bruce Momjian | 2013-01-26 02:01:22 | pgsql: doc: revert 80c20fcf3df17309b3c131962045825f42e45bc7 and |