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 22764.1315344891@sss.pgh.pa.us
Whole thread Raw
In response to [PATCH] Log crashed backend's query (activity string)  (Marti Raudsepp <marti@juffo.org>)
Responses Re: [PATCH] Log crashed backend's query (activity string)
Re: [PATCH] Log crashed backend's query (activity string)
List pgsql-hackers
Marti Raudsepp <marti@juffo.org> writes:
> This patch adds the backend's current running query to the "backend
> crash" message.

Sorry, this patch is entirely unacceptable.  We cannot have the
postmaster's functioning depending on the contents of shared memory
still being valid ... most especially not when we know that somebody
just crashed, and could have corrupted the shared memory in arbitrary
ways.  No, I don't think your attempts to validate the data are
adequate, nor do I believe they can be made adequate.  And I doubt
that the goal is worth taking risks for.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgpass comment suggestion
Next
From: Robert Haas
Date:
Subject: Re: timezone GUC