Re: NOTICE vs WARNING - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: NOTICE vs WARNING
Date
Msg-id 0c7901c36c52$ade65f60$2800a8c0@mars
Whole thread Raw
In response to Re: NOTICE vs WARNING  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: NOTICE vs WARNING
List pgsql-hackers
> If it were in fact the characteristic of a NOTICE that you need not pay
> attention to them, why do we have them?

I have often wondered that myself.

> > My thought is that you could turn off NOTICES and not worry.
>
> Well, there are plenty of NOTICE instances that carry a definite need to
> worry, such as identifier truncation, implicitly added FROM items,
> implicit changes to types specified as "opaque", unsupported and ignored
> syntax clauses.

I think that WARNING should be used for ALL things that have been
deprecated.  eg. implicit FROM, the opaque business, and definitely
unsupported and ignored synacies.

> I have a slight feeling that these two categories cannot usefully be
> distinguished, but I'm interested to hear other opinions.

Chris



pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: MHonArc configuration for spam protection
Next
From: Bruce Momjian
Date:
Subject: Re: NOTICE vs WARNING