Re: Have better wording for snapshot file reading failure

From: Yogesh Sharma <yogesh(dot)sharma(at)catprosystems(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Have better wording for snapshot file reading failure
Date: 2023-09-17 12:36:06
Message-ID: 7f19a62e-324b-82d1-e110-262237d203d9@catprosystems.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andy Fan 2023-09-17 13:42:05 Re: make add_paths_to_append_rel aware of startup cost
Previous Message Erik Rijkers 2023-09-17 06:37:11 Re: remaining sql/json patches