Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements
От
Stephen Frost
Тема
Re: Patch to add support of "IF NOT EXISTS" to others
"CREATE" statements
Дата
Msg-id
20140331204639.GA4582@tamriel.snowman.net
Ответ на
Re: Patch to add support of "IF NOT EXISTS" to others
"CREATE" statements (Fabrízio de Royes Mello)
Список
Дерево обсуждения
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>
* Fabrízio de Royes Mello (fabriziomello@gmail.com) wrote: > Because they maintain user data? Eh? You mean like the sequence #? Yes, I'd expect 'CREATE OR REPLACE SEQUENCE' to want a minvalue or something on a 'replace' case to ensure that it doesn't roll backwards unless explicitly asked for. Perhaps the same for any non-default parameters as well, though I'd look at the other COR cases to see what they do. CREATE OR REPLACE ROLE is actually easier, no? All you'd be updating are the various role attributes, I'd think, since only those are available at CREATE time today. Any role memberships or ownership would be left alone. Thanks, Stephen
В списке pgsql-hackers по дате отправления