]> git.ipfire.org Git - thirdparty/postgresql.git/commit
pg_upgrade: Fix some minor code issues
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 12 Aug 2022 22:00:41 +0000 (00:00 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 12 Aug 2022 22:11:01 +0000 (00:11 +0200)
commitc7bc39cec78da20c31861ca57a4749ca3c3cfec0
tree9b86375beeab6c88b5ae8523d6c5abad053b14fa
parent560d052ebdb287965a5f34a8191e246d5aaf6cda
pg_upgrade: Fix some minor code issues

96ef3b8ff1cf1950e897fd2f766d4bd9ef0d5d56 accidentally copied a not
applicable comment from the float8_pass_by_value code to the
data_checksums code.  Remove that.

87d3b35a1ca31a9d947a8f919a6006679216dff0 changed pg_upgrade to
checking the checksum version rather than just the Boolean presence of
checksums, but didn't change the field type in its ControlData struct
from bool.  So this would not work correctly if there ever is a
checksum version larger than 1.
src/bin/pg_upgrade/controldata.c
src/bin/pg_upgrade/pg_upgrade.h