Re: [PATCH] Log crashed backend's query (activity string) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Log crashed backend's query (activity string)
Date
Msg-id 6215.1315430318@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] Log crashed backend's query (activity string)  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Wed, Sep 7, 2011 at 4:15 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Keep in mind that in the postmaster, elog(ERROR) *is* a crash.

> Right... but a function that returns -1 to indicate that something
> didn't work should be OK, as long as whatever it does is otherwise
> extremely boring.

The more functionality you put in the postmaster, the more likely it is
to trip over an elog(ERROR) somewhere.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: timezone GUC
Next
From: Alvaro Herrera
Date:
Subject: Re: [PATCH] Log crashed backend's query (activity string)