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

From Yogesh Sharma
Subject Re: Have better wording for snapshot file reading failure
Date
Msg-id 7f19a62e-324b-82d1-e110-262237d203d9@catprosystems.com
Whole thread Raw
In response to Re: Have better wording for snapshot file reading failure  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 9/14/23 20:33, 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?

+1  better  informative message compare to the original patch.

--
Kind Regards,
Yogesh Sharma
PostgreSQL, Linux, and Networking Expert
Open Source Enthusiast and Advocate




pgsql-hackers by date:

Previous
From: Erik Rijkers
Date:
Subject: Re: remaining sql/json patches
Next
From: Andy Fan
Date:
Subject: Re: make add_paths_to_append_rel aware of startup cost