Re: Notices for redundant operations

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Notices for redundant operations
Дата
Msg-id 20030905231017.GB5094@dcc.uchile.cl
обсуждение исходный текст
Ответ на Notices for redundant operations  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Notices for redundant operations  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Sat, Sep 06, 2003 at 12:47:21AM +0200, Peter Eisentraut wrote:
> I found a few notices and warnings that inform you that the command you
> are executing has no effect because the object is already in the state you
> want it.  I think these are useless, and there is also some inconsistency.
> Does someone want to defend keeping them?

If people doesn't receive any message regarding the command they
executed, they will execute it again, and again, and they will
eventually wonder what's wrong and start investigating why "nothing is
happening".

Warnings should be converted to notices, IMHO.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"The problem with the future is that it keeps turning into the present"
(Hobbes)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Notices for redundant operations
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: [PATCHES] Warning for missing createlang