Skip to content

Commit be475a2

Browse files
Revert previous temporary patch
1 parent 2837721 commit be475a2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

contrib/pg_upgrade/controldata.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -621,12 +621,12 @@ check_control_data(ControlData *oldctrl,
621621
"options.\n");
622622
}
623623

624-
// /* We might eventually allow upgrades from checksum to no-checksum clusters. */
625-
// if (oldctrl->data_checksums != newctrl->data_checksums)
626-
// {
627-
// pg_log(PG_FATAL,
628-
// "old and new pg_controldata checksums settings are invalid or do not match\n");
629-
// }
624+
/* We might eventually allow upgrades from checksum to no-checksum clusters. */
625+
if (oldctrl->data_checksums != newctrl->data_checksums)
626+
{
627+
pg_log(PG_FATAL,
628+
"old and new pg_controldata checksums settings are invalid or do not match\n");
629+
}
630630
}
631631

632632

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy