Revert previous temporary patch
authorSimon Riggs <simon@2ndQuadrant.com>
Tue, 30 Apr 2013 14:32:10 +0000 (15:32 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Tue, 30 Apr 2013 14:32:10 +0000 (15:32 +0100)
contrib/pg_upgrade/controldata.c

index 3c9d115b7e37ba6b73077a09a58bda8edb80b910..e9376e207f434330aeb80e59634f7bf64a81dc7e 100644 (file)
@@ -621,12 +621,12 @@ check_control_data(ControlData *oldctrl,
                           "options.\n");
        }
 
-//     /* We might eventually allow upgrades from checksum to no-checksum clusters. */
-//     if (oldctrl->data_checksums != newctrl->data_checksums)
-//     {
-//             pg_log(PG_FATAL,
-//                        "old and new pg_controldata checksums settings are invalid or do not match\n");
-//     }
+       /* We might eventually allow upgrades from checksum to no-checksum clusters. */
+       if (oldctrl->data_checksums != newctrl->data_checksums)
+       {
+               pg_log(PG_FATAL,
+                          "old and new pg_controldata checksums settings are invalid or do not match\n");
+       }
 }