Remove ENABLE_SAME_CATVERSION_UPGRADES as unnecessary.

This commit is contained in:
Bruce Momjian 2011-11-25 19:07:48 -05:00
parent f717f4bca2
commit 32fb4546e3
1 changed files with 0 additions and 2 deletions

View 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);