aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-09-14 10:30:27 +0900
committerMichael Paquier <michael@paquier.xyz>2023-09-14 10:30:27 +0900
commit19885ab246d81a787797e92d20c5e54414f1ddee (patch)
tree7fa2f476989fc4a350de7b00e5151464910075a8 /src/tutorial/basics.source
parent17a3f1c3475a4a31ea0af9c95efdccd07dd4247c (diff)
downloadpostgresql-19885ab246d81a787797e92d20c5e54414f1ddee.tar.gz
postgresql-19885ab246d81a787797e92d20c5e54414f1ddee.zip
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 this case on failure, which is useful when debugging this area. Thinko introduced by bb446b689b66 where snapshot imports have been added. A backpatch down to 11 is done as this can improve any work related to snapshot imports in older branches. Author: Bharath Rupireddy Reviewed-by: Daniel Gustafsson Discussion: https://postgr.es/m/CALj2ACWmr=3KdxDkm8h7Zn1XxBoF6hdzq8WQyMn2y1OL5RYFrg@mail.gmail.com Backpatch-through: 11
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions