From: Bruce Momjian Date: Sat, 26 Nov 2011 00:07:48 +0000 (-0500) Subject: Remove ENABLE_SAME_CATVERSION_UPGRADES as unnecessary. X-Git-Tag: REL9_2_BETA1~780 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32fb4546e3f8cf9c2ef524e9c20766a046521193;p=postgresql Remove ENABLE_SAME_CATVERSION_UPGRADES as unnecessary. --- diff --git a/contrib/pg_upgrade/check.c b/contrib/pg_upgrade/check.c index 3d86fae69e..d32a84c635 100644 --- a/contrib/pg_upgrade/check.c +++ b/contrib/pg_upgrade/check.c @@ -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);