diff options
author | Amit Kapila <akapila@postgresql.org> | 2023-08-24 14:37:29 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2023-08-24 14:37:29 +0530 |
commit | 27449ccc4d3a6ee77cbd13bed65f8fbea49486c1 (patch) | |
tree | f50f40361dd55be643432bc333d342754ae8e468 /src/backend/utils/adt/array_selfuncs.c | |
parent | 9efcf442b9a4035be2692525be81a23224288d1b (diff) | |
download | postgresql-27449ccc4d3a6ee77cbd13bed65f8fbea49486c1.tar.gz postgresql-27449ccc4d3a6ee77cbd13bed65f8fbea49486c1.zip |
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/adt/array_selfuncs.c')
0 files changed, 0 insertions, 0 deletions