Re: Have better wording for snapshot file reading failure - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Have better wording for snapshot file reading failure
Date
Msg-id ZQPpu3Hq9IoOFHR9@paquier.xyz
Whole thread Raw
In response to Re: Have better wording for snapshot file reading failure  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Thu, Sep 14, 2023 at 05:33:35PM -0700, Andres Freund wrote:
> I'd probably just go for something like "snapshot \"%s\" does not exist",
> similar to what we report for unknown tables etc. Arguably changing the
> errcode to ERRCODE_UNDEFINED_OBJECT would make this more precise?

Good points.  Updated as suggested in v2 attached.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: [PoC] pg_upgrade: allow to upgrade publisher node
Next
From: Michael Paquier
Date:
Subject: Re: Bug fix for psql's meta-command \ev