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

Commit6ce6a61

Browse files
committed
pg_upgrade: Remove dead code
Remove code meant for upgrading to a particular version of PostgreSQL9.0. Since pg_upgrade only supports upgrading to the current majorversion, this code is no longer useful.
1 parentfe77741 commit6ce6a61

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

‎src/bin/pg_upgrade/check.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -279,12 +279,6 @@ check_cluster_compatibility(bool live_check)
279279
get_control_data(&new_cluster, false);
280280
check_control_data(&old_cluster.controldata,&new_cluster.controldata);
281281

282-
/* Is it 9.0 but without tablespace directories? */
283-
if (GET_MAJOR_VERSION(new_cluster.major_version)==900&&
284-
new_cluster.controldata.cat_ver<TABLE_SPACE_SUBDIRS_CAT_VER)
285-
pg_fatal("This utility can only upgrade to PostgreSQL version 9.0 after 2010-01-11\n"
286-
"because of backend API changes made during development.\n");
287-
288282
/* We read the real port number for PG >= 9.1 */
289283
if (live_check&&GET_MAJOR_VERSION(old_cluster.major_version)<901&&
290284
old_cluster.port==DEF_PGUPORT)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp