aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-09-14 10:30:30 +0900
committerMichael Paquier <michael@paquier.xyz>2023-09-14 10:30:30 +0900
commita7b92d1c6807750723b668bc2bdde1c4698c9d64 (patch)
treebafd006c779d7ad22adce8ccd1dc0d4913c09e58 /src/backend/utils/adt/xml.c
parent6341cb0b02ae16d7bbb8b4e7ebabf80c551a685e (diff)
downloadpostgresql-a7b92d1c6807750723b668bc2bdde1c4698c9d64.tar.gz
postgresql-a7b92d1c6807750723b668bc2bdde1c4698c9d64.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/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions