Re: elog(NOIND)?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: elog(NOIND)?
Date: 2001-06-07 14:40:08
Message-ID: Pine.LNX.4.30.0106071635280.757-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Stosberg 2001-06-07 14:40:40 Re: behavior of ' = NULL' vs. MySQL vs. Standards
Previous Message Robert Forsman 2001-06-07 14:37:36 Re: Re: Daily Digest V1 #1428