Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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)