Fix CRC check handling in get_controlfile The previous patch broke this by returning NULL for a failed CRC check, which pg_controldata would then try to read. Fix by returning the result of the CRC check in a separate argument.
Michael Paquier and myself Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/e79e6c4da152154544913b38354b98d07b65e411 Modified Files -------------- src/backend/utils/misc/pg_controldata.c | 20 ++++++++++++-------- src/bin/pg_controldata/pg_controldata.c | 5 +++-- src/bin/pg_ctl/pg_ctl.c | 24 +++++++----------------- src/common/controldata_utils.c | 19 +++++++++---------- src/include/common/controldata_utils.h | 2 +- 5 files changed, 32 insertions(+), 38 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
