Re: Notices for redundant operations

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Notices for redundant operations
Date: 2003-09-05 23:10:18
Message-ID: 20030905231017.GB5094@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2003-09-05 23:16:17 Re: [PATCHES] Warning for missing createlang
Previous Message Peter Eisentraut 2003-09-05 22:47:21 Notices for redundant operations