diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2016-09-28 12:00:00 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2016-09-28 12:00:00 -0400 |
commit | e79e6c4da152154544913b38354b98d07b65e411 (patch) | |
tree | 5a0c8a6bff3422fc263704dd8dc4bd733c822d4a /src/common/file_utils.c | |
parent | 308985b0b404a5891a1a629f38cc46c2b2dcb4be (diff) | |
download | postgresql-e79e6c4da152154544913b38354b98d07b65e411.tar.gz postgresql-e79e6c4da152154544913b38354b98d07b65e411.zip |
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
Diffstat (limited to 'src/common/file_utils.c')
0 files changed, 0 insertions, 0 deletions