summaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/guc_tables.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2023-08-24 14:51:57 +0530
committerAmit Kapila <akapila@postgresql.org>2023-08-24 14:51:57 +0530
commit13e2665df3d01de5b0e039eb41b5e358e2b29ae5 (patch)
tree283f47cab72863b2e265fce6272965c209dae2bc /src/backend/utils/misc/guc_tables.c
parent8179d1bdf7763bab8a55022268bcfada011e8a4f (diff)
Fix the error message when failing to restore the snapshot.
The SnapBuildRestoreContents() used a const value in the error message to indicate the size in bytes it was expecting to read from the serialized snapshot file. Fix it by reporting the size that was actually passed. Author: Hou Zhijie Reviewed-by: Amit Kapila Backpatch-through: 16 Discussion: http://postgr.es/m/OS0PR01MB5716D408364F7DF32221C08D941FA@OS0PR01MB5716.jpnprd01.prod.outlook.com
Diffstat (limited to 'src/backend/utils/misc/guc_tables.c')
0 files changed, 0 insertions, 0 deletions