On Oct 2, 2012, at 12:08 PM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> wrote:
> create schema if not exists foo create table first (a int);
> create schema if not exists foo create table second (a int);
> As far as I can see, with the patch as it currently stands, you would
> end up with only table "first" in the schema, which seems very
> surprising to me.
Yeah, I think the second should die. CINE should only work if there are no other objects created as part of the statement, IMHO.
In response to
pgsql-hackers by date
|Next:||From: Alvaro Herrera||Date: 2012-10-02 19:30:05|
|Subject: Re: CREATE SCHEMA IF NOT EXISTS|
|Previous:||From: David Johnston||Date: 2012-10-02 19:15:49|
|Subject: Re: Raise a WARNING if a REVOKE affects nothing?|