Re: elog cleanup - Mailing list pgsql-patches

From Tom Lane
Subject Re: elog cleanup
Date
Msg-id 24654.1014097386@sss.pgh.pa.us
Whole thread Raw
In response to elog cleanup  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: elog cleanup
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> [ 100K+ patch ]

If you're going to hit every file in the backend in pursuit of this
idea, *puh-leeze* get it right the FIRST time, rather than subjecting
us all to multiple rounds of break-everyone-else's-patches-in-progress.

Things you did not get right include: where's the PG_ prefix?
And what happened to merging the debug-level mechanism with the
error level codes?

> o Add INFO level that prints only to the client
> o Add LOG level to print messages only to the server log

I still object strongly to this worldview.  The code should not have
a hard-wired concept of which messages are for the client and which
are for the log.

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: elog cleanup
Next
From: Bruce Momjian
Date:
Subject: Re: elog cleanup