Re: elog() proposals

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: elog() proposals
Date: 2002-02-22 04:07:10
Message-ID: 200202220407.g1M47A514797@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
> I just submitted a patch to fix various elog() issues. I have two
> additional proposals.
>
> First, I think ERROR/DEBUG/NOTICE/FATAL, etc are too generic and cause
> compile problems/warnings, especially with Perl. I suggest renaming all
> elog levels to PG*, so it would be PGERROR and PGINFO. We could also do
> E_* or E*. I am interested in other opinions.

I think we will need to rename symbols for 7.3 to PG_ or E_ or something
like that, but keep #define's in place with the old values through 7.3,
and urge people to update their code for 7.3, and remove the old symbols
in 7.4. We did this with LIMIT for 7.2.

--
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 Tom Lane 2002-02-22 04:11:57 Re: Are stored procedures pre-compiled?
Previous Message Bruce Momjian 2002-02-22 04:01:42 Re: Automatic transactions in psql