Re: Snapshot too old logging - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Snapshot too old logging
Date
Msg-id 26790.1479227392@sss.pgh.pa.us
Whole thread Raw
In response to Re: Snapshot too old logging  (Kevin Grittner <kgrittn@gmail.com>)
Responses Re: Snapshot too old logging
Re: Snapshot too old logging
List pgsql-hackers
Kevin Grittner <kgrittn@gmail.com> writes:
> On Tue, Nov 15, 2016 at 3:38 AM, Magnus Hagander <magnus@hagander.net> wrote:
>> Is there a reason why we don't log which relation triggered the snapshot too
>> old error when it happens?

> I would probably not want to mess with the text of the error
> itself, in case any client-side software bases recovery on that
> rather than the SQLSTATE value;

Any such code is broken on its face because of localization.
Perhaps including the relname in the main message would make it
unduly long, but if not I'd vote for doing it that way.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pg_dump, pg_dumpall and data durability
Next
From: Robert Haas
Date:
Subject: Re: Something is broken about connection startup