Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit32fb454

Browse files
committed
Remove ENABLE_SAME_CATVERSION_UPGRADES as unnecessary.
1 parentf717f4b commit32fb454

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-
#ifndefENABLE_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)

[8]ページ先頭

©2009-2025 Movatter.jp