Re: [PATCH] Return command tag 'REPLACE X' for CREATE OR REPLACE statements.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] Return command tag 'REPLACE X' for CREATE OR REPLACE statements.
Дата
Msg-id 1295275302.1455.18.camel@fsopti579.F-Secure.com
обсуждение исходный текст
Ответ на Re: [PATCH] Return command tag 'REPLACE X' for CREATE OR REPLACE statements.  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [PATCH] Return command tag 'REPLACE X' for CREATE OR REPLACE statements.  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On fre, 2011-01-14 at 18:45 -0500, Robert Haas wrote:
> On Fri, Jan 14, 2011 at 3:45 PM, Marti Raudsepp <marti@juffo.org>
> wrote:
> > There's a similar case with CREATE TABLE IF NOT EXISTS, maybe this
> is
> > worth covering in an updated patch too?
> > And if I change that, people might expect the same from DROP X IF
> EXISTS too?
> 
> It's far less clear what you'd change those cases to say, and they
> already emit a NOTICE, so it seems unnecessary.

Maybe instead of the proposed patch, a notice could be added:

NOTICE: existing object was replaced




В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: psql: Add \dL to show languages
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Replication logging