pgsql: Improve error message on snapshot import in snapmgr.c

2023-09-13 Thread Michael Paquier
Improve error message on snapshot import in snapmgr.c When a snapshot file fails to be read in ImportSnapshot(), it would issue an ERROR as "invalid snapshot identifier" when opening a stream for it in read-only mode. This error message is reworded to be the same as all the other messages used in

pgsql: Improve error message on snapshot import in snapmgr.c

2023-09-13 Thread Michael Paquier
Improve error message on snapshot import in snapmgr.c When a snapshot file fails to be read in ImportSnapshot(), it would issue an ERROR as "invalid snapshot identifier" when opening a stream for it in read-only mode. This error message is reworded to be the same as all the other messages used in

pgsql: Improve error message on snapshot import in snapmgr.c

2023-09-13 Thread Michael Paquier
Improve error message on snapshot import in snapmgr.c When a snapshot file fails to be read in ImportSnapshot(), it would issue an ERROR as "invalid snapshot identifier" when opening a stream for it in read-only mode. This error message is reworded to be the same as all the other messages used in

pgsql: Improve error message on snapshot import in snapmgr.c

2023-09-13 Thread Michael Paquier
Improve error message on snapshot import in snapmgr.c When a snapshot file fails to be read in ImportSnapshot(), it would issue an ERROR as "invalid snapshot identifier" when opening a stream for it in read-only mode. This error message is reworded to be the same as all the other messages used in

pgsql: Improve error message on snapshot import in snapmgr.c

2023-09-13 Thread Michael Paquier
Improve error message on snapshot import in snapmgr.c When a snapshot file fails to be read in ImportSnapshot(), it would issue an ERROR as "invalid snapshot identifier" when opening a stream for it in read-only mode. This error message is reworded to be the same as all the other messages used in

pgsql: Improve error message on snapshot import in snapmgr.c

2023-09-13 Thread Michael Paquier
Improve error message on snapshot import in snapmgr.c When a snapshot file fails to be read in ImportSnapshot(), it would issue an ERROR as "invalid snapshot identifier" when opening a stream for it in read-only mode. This error message is reworded to be the same as all the other messages used in

pgsql: Improve error message on snapshot import in snapmgr.c

2023-09-13 Thread Michael Paquier
Improve error message on snapshot import in snapmgr.c When a snapshot file fails to be read in ImportSnapshot(), it would issue an ERROR as "invalid snapshot identifier" when opening a stream for it in read-only mode. This error message is reworded to be the same as all the other messages used in