diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-08-24 15:29:35 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-08-24 15:29:35 -0400 |
commit | 6ce6a61840cc90172ad3da7bf303656132fa5fab (patch) | |
tree | 028867d431f4c9c477a680e94c7a1e20ba892630 /src | |
parent | fe7774144d5c3f3a2941a2ca51e61352e4005991 (diff) |
pg_upgrade: Remove dead code
Remove code meant for upgrading to a particular version of PostgreSQL
9.0. Since pg_upgrade only supports upgrading to the current major
version, this code is no longer useful.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_upgrade/check.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bin/pg_upgrade/check.c b/src/bin/pg_upgrade/check.c index 327c78e8790..86225eaa4c2 100644 --- a/src/bin/pg_upgrade/check.c +++ b/src/bin/pg_upgrade/check.c @@ -279,12 +279,6 @@ check_cluster_compatibility(bool live_check) get_control_data(&new_cluster, false); check_control_data(&old_cluster.controldata, &new_cluster.controldata); - /* Is it 9.0 but without tablespace directories? */ - if (GET_MAJOR_VERSION(new_cluster.major_version) == 900 && - new_cluster.controldata.cat_ver < TABLE_SPACE_SUBDIRS_CAT_VER) - pg_fatal("This utility can only upgrade to PostgreSQL version 9.0 after 2010-01-11\n" - "because of backend API changes made during development.\n"); - /* We read the real port number for PG >= 9.1 */ if (live_check && GET_MAJOR_VERSION(old_cluster.major_version) < 901 && old_cluster.port == DEF_PGUPORT) |