]> granicus.if.org Git - postgresql/commitdiff
Remove ENABLE_SAME_CATVERSION_UPGRADES as unnecessary.
authorBruce Momjian <bruce@momjian.us>
Sat, 26 Nov 2011 00:07:48 +0000 (19:07 -0500)
committerBruce Momjian <bruce@momjian.us>
Sat, 26 Nov 2011 00:08:41 +0000 (19:08 -0500)
contrib/pg_upgrade/check.c

index 3d86fae69ed1333265ad2ab82ebe050984c1776e..d32a84c6354eae4694a3dadf57faa595e8c33dc4 100644 (file)
@@ -242,10 +242,8 @@ check_cluster_versions(void)
         * We can't allow downgrading because we use the target pg_dumpall, and
         * pg_dumpall cannot operate on new database versions, only older versions.
         */
-#ifndef ENABLE_SAME_CATVERSION_UPGRADES        /* does not allow tablespace upgrades */
        if (old_cluster.major_version > new_cluster.major_version)
                pg_log(PG_FATAL, "This utility cannot be used to downgrade to older major PostgreSQL versions.\n");
-#endif
 
        /* get old and new binary versions */
        get_bin_version(&old_cluster);