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

From Bharath Rupireddy
Subject Have better wording for snapshot file reading failure
Date
Msg-id CALj2ACWmr=3KdxDkm8h7Zn1XxBoF6hdzq8WQyMn2y1OL5RYFrg@mail.gmail.com
Whole thread Raw
Responses Re: Have better wording for snapshot file reading failure
Re: Have better wording for snapshot file reading failure
List pgsql-hackers
Hi,

When a snapshot file reading fails in ImportSnapshot(), it errors out
with "invalid snapshot identifier". This message better suits for
snapshot identifier parsing errors which is being done just before the
file reading. The attached patch adds a generic file reading error
message with path to help distinguish if the issue is with snapshot
identifier parsing or file reading.

-- 
Bharath Rupireddy
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachment

pgsql-hackers by date:

Previous
From: ywgrit
Date:
Subject: Re: Is the member name of hashctl inappropriate?
Next
From: Michael Paquier
Date:
Subject: Re: Have better wording for snapshot file reading failure