Skip to content

Commit 32fb454

Browse files
committed
Remove ENABLE_SAME_CATVERSION_UPGRADES as unnecessary.
1 parent f717f4b commit 32fb454

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

contrib/pg_upgrade/check.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,8 @@ check_cluster_versions(void)
242242
* We can't allow downgrading because we use the target pg_dumpall, and
243243
* pg_dumpall cannot operate on new database versions, only older versions.
244244
*/
245-
#ifndef ENABLE_SAME_CATVERSION_UPGRADES /* does not allow tablespace upgrades */
246245
if (old_cluster.major_version > new_cluster.major_version)
247246
pg_log(PG_FATAL, "This utility cannot be used to downgrade to older major PostgreSQL versions.\n");
248-
#endif
249247

250248
/* get old and new binary versions */
251249
get_bin_version(&old_cluster);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy