Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements
Дата
Msg-id
1371522786.13762.7.camel@vanquo.pezone.net
Ответ на
Список
Дерево обсуждения
Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Robins Tharakan <tharakan@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Andres Freund <andres@2ndquadrant.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Abhijit Menon-Sen <ams@2ndQuadrant.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabrizio@timbira.com.br>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Martijn van Oosterhout <kleptog@svana.org>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Karol Trzcionka <karlikt@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello<fabrizio@timbira.com.br>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Karol Trzcionka <karlikt@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Abhijit Menon-Sen <ams@2ndQuadrant.com>
Re: Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello<fabrizio@timbira.com.br>
Re: Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello<fabrizio@timbira.com.br>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello<fabrizio@timbira.com.br>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Abhijit Menon-Sen <ams@2ndQuadrant.com>
Re: Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello<fabrizio@timbira.com.br>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Peter Eisentraut <peter_e@gmx.net>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Robert Haas <robertmhaas@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Stephen Frost <sfrost@snowman.net>
Re: Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Stephen Frost <sfrost@snowman.net>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Stephen Frost <sfrost@snowman.net>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Stephen Frost <sfrost@snowman.net>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Michael Paquier <michael.paquier@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Stephen Frost <sfrost@snowman.net>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Robert Haas <robertmhaas@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Heikki Linnakangas <hlinnakangas@vmware.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Marti Raudsepp <marti@juffo.org>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Marko Tiikkaja <marko@joh.to>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Heikki Linnakangas <hlinnakangas@vmware.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Michael Paquier <michael.paquier@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Peter Eisentraut <peter_e@gmx.net>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Peter Eisentraut <peter_e@gmx.net>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Amit Langote <amitlangote09@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Amit Langote <amitlangote09@gmail.com>
Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements Tom Dunstan <pgsql@tomd.cc>
On Wed, 2013-06-12 at 16:31 -0300, Fabrízio de Royes Mello wrote:
> > Btw., I also want REPLACE BUT DO NOT CREATE.
> 
> Can you explain more about it?
> 
Replace/alter the object if it already exists, but fail if it does not
exist.

The complete set of variants is:

- object does not exist:
   - proceed (normal CREATE)   - error (my above description)

- object exists:
   - replace (CREATE OR REPLACE)   - skip (CREATE IF NOT EXISTS)   - error (normal CREATE)




В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата:
От: Peter Eisentraut
Дата:
Сообщение: Re: dynamic background workers
FAQ