Re: elog(NOIND)? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: elog(NOIND)?
Date
Msg-id Pine.LNX.4.30.0106071635280.757-100000@peter.localdomain
Whole thread Raw
In response to Re: elog(NOIND)?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane writes:

> While you're at it, rearrange the numeric order of the elog levels to be
> sensible.  There are some bizarrely-coded tests in elog.c that could be
> simplified if severity levels had the obvious ordering.

Okay, but I'm not sure there will be a total ordering forever.  For
example, it's pretty useless to log user-level errors like "syntax error"
to the server log by default.  There needs to be more flexibility.

Does anyone foresee a problem with making them an enum?

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Any time estimates for 7.1.2 RPM's ?
Next
From: Robert Forsman
Date:
Subject: Re: Re: Daily Digest V1 #1428