Re: CREATE SCHEMA IF NOT EXISTS

From: Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CREATE SCHEMA IF NOT EXISTS
Date: 2012-08-16 17:55:03
Message-ID: CAFcNs+qzGu5rxh4nw6Qyy4v3ZQ7BUA9VcBGf-UVKY=x2w1+dbw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2012/8/16 David E. Wheeler <david(at)justatheory(dot)com>

> On Aug 16, 2012, at 10:36 AM, Fabrízio de Royes Mello wrote:
>
> > The attached patch implement this feature:
> >
> > CREATE SCHEMA [ IF NOT EXISTS ] schema_name [ AUTHORIZATION user_name ]
> [ schema_element [ ... ] ]
> > CREATE SCHEMA [ IF NOT EXISTS ] AUTHORIZATION user_name [ schema_element
> [ ... ] ]
> >
> > Now, PostgreSQL don't trow an error if we use "IF NOT EXISTS" in "CREATE
> SCHEMA" statement.
> >
> > So, I don't know the next steps...
>
> Awesome, thanks! Please add it to the next CommitFest:
>
> https://commitfest.postgresql.org/action/commitfest_view?id=15
>
>
Patch added to CommitFest:

https://commitfest.postgresql.org/action/patch_view?id=907

Thanks,

--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Blog sobre TI: http://fabriziomello.blogspot.com
>> Perfil Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2012-08-16 18:37:59 Re: psql \set vs \copy - bug or expected behaviour?
Previous Message David E. Wheeler 2012-08-16 17:49:43 Re: CREATE SCHEMA IF NOT EXISTS