Re: Notices for redundant operations - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Notices for redundant operations
Date
Msg-id 20030905231017.GB5094@dcc.uchile.cl
Whole thread Raw
In response to Notices for redundant operations  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Notices for redundant operations  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Notices for redundant operations
Next
From: Rod Taylor
Date:
Subject: Re: [PATCHES] Warning for missing createlang