Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements - Mailing list pgsql-hackers

From Fabrízio de Royes Mello
Subject Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements
Date
Msg-id CAFcNs+qpDGu-jFoNk1oBKDBG3W=NTC3tc0CXwGC1h-kg3cHzgQ@mail.gmail.com
Whole thread
In response to Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements
List pgsql-hackers

On Mon, Mar 31, 2014 at 5:00 PM, Stephen Frost <sfrost@snowman.net> wrote:
>
> * Fabrízio de Royes Mello (fabriziomello@gmail.com) wrote:
> > On Mon, Mar 31, 2014 at 4:52 PM, Stephen Frost <sfrost@snowman.net> wrote:
> > >
> > > * Fabrízio de Royes Mello (fabriziomello@gmail.com) wrote:
> > > > - CREATE SEQUENCE [ IF NOT EXISTS ]
> > > > - CREATE DOMAIN [ IF NOT EXISTS ]
> > > > - CREATE EVENT TRIGGER [ IF NOT EXISTS ]
> > > > - CREATE ROLE [ IF NOT EXISTS ]
> > > >
> > > > Seems that no one reviewed this part or was rejected with others?
> > >
> > > Why don't those fall into the same concern, specifically that what we
> > > really want is 'CREATE-OR-REPLACE' semantics for them instead?
> > >
> >
> > Ok, but I think this semantics is desirable just to "CREATE DOMAIN" and
> > "CREATE EVENT TRIGGER".
> >
> > Isn't desirable add CINE to SEQUENCEs and ROLEs?
>
> Why would it be difficult to have COR for sequences..?  Or roles?
>

Because they maintain user data?

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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: B-Tree support function number 3 (strxfrm() optimization)
Next
From: Christoph Berg
Date:
Subject: Re: Securing "make check" (CVE-2014-0067)