Re: elog() proposal

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: elog() proposal
Date: 2002-02-23 05:20:04
Message-ID: 200202230520.g1N5K4L28465@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Well, I do. We don't need the separate user-side error functions
> initially, but eventually we will have to have them.
>
> So, basically, what this comes down to with respect to your patch:
>
> 1. Renumbering the error codes breaks backward compatibility *silently*.

OK, so people want the old codes kept. I just have to warn people that
there will be some funky test structure in elog.c to handle message
*_min_messages tests. Is that OK?

> 2. CRASH doesn't seem like a good name to me.

OK, changed to FATALALL, which is pretty descriptive.

> 3. I agree with adding a LOG or INFO level between DEBUG and NOTICE.

OK, good, that was the crux of the patch. The rest was cleanups.

>
> 4. I don't like the alignment change. That seems very un-computer-like.

OK, removed, not always two spaces.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sean Chittenden 2002-02-23 08:07:23 IANA postgres service type-o!
Previous Message Peter Eisentraut 2002-02-23 04:42:05 Re: --with-tcl build on AIX (and others) fails