Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 604d4c4 commit 5df1403Copy full SHA for 5df1403
contrib/pg_upgrade/check.c
@@ -242,8 +242,10 @@ check_cluster_versions(void)
242
* We can't allow downgrading because we use the target pg_dumpall, and
243
* pg_dumpall cannot operate on new database versions, only older versions.
244
*/
245
+#ifndef ENABLE_SAME_CATVERSION_UPGRADES /* does not allow tablespace upgrades */
246
if (old_cluster.major_version > new_cluster.major_version)
247
pg_log(PG_FATAL, "This utility cannot be used to downgrade to older major PostgreSQL versions.\n");
248
+#endif
249
250
/* get old and new binary versions */
251
get_bin_version(&old_cluster);
0 commit comments