diff options
author | Bruce Momjian <bruce@momjian.us> | 2010-05-13 22:51:00 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2010-05-13 22:51:00 +0000 |
commit | 36d3afd2d42da4c81c22b8cad3e8312368b9823e (patch) | |
tree | 59b1e975b58d49fcf65cdb2911f22fc2b741a07d /contrib/pg_upgrade/controldata.c | |
parent | 382ff21203ae1c13c2c93a483b098608f35a7251 (diff) |
Remove all mentions of EnterpriseDB Advanced Server from pg_upgrade;
EDB must maintain their own patch set for this.
Diffstat (limited to 'contrib/pg_upgrade/controldata.c')
-rw-r--r-- | contrib/pg_upgrade/controldata.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/contrib/pg_upgrade/controldata.c b/contrib/pg_upgrade/controldata.c index b6cc457a022..ccf7a36c9da 100644 --- a/contrib/pg_upgrade/controldata.c +++ b/contrib/pg_upgrade/controldata.c @@ -9,10 +9,6 @@ #include <ctype.h> #include <stdlib.h> -#ifdef EDB_NATIVE_LANG -#include "access/tuptoaster.h" -#endif - /* * get_control_data() @@ -88,15 +84,6 @@ get_control_data(migratorContext *ctx, ClusterInfo *cluster, bool live_check) got_float8_pass_by_value = true; } -#ifdef EDB_NATIVE_LANG - /* EDB AS 8.3 is an 8.2 code base */ - if (cluster->is_edb_as && GET_MAJOR_VERSION(cluster->major_version) <= 803) - { - cluster->controldata.toast = TOAST_MAX_CHUNK_SIZE; - got_toast = true; - } -#endif - /* we have the result of cmd in "output". so parse it line by line now */ while (fgets(bufin, sizeof(bufin), output)) { @@ -140,9 +127,7 @@ get_control_data(migratorContext *ctx, ClusterInfo *cluster, bool live_check) p++; /* removing ':' char */ cluster->controldata.cat_ver = (uint32) atol(p); } - else if ((p = strstr(bufin, "First log file ID after reset:")) != NULL || - (cluster->is_edb_as && GET_MAJOR_VERSION(cluster->major_version) <= 803 && - (p = strstr(bufin, "Current log file ID:")) != NULL)) + else if ((p = strstr(bufin, "First log file ID after reset:")) != NULL) { p = strchr(p, ':'); @@ -153,9 +138,7 @@ get_control_data(migratorContext *ctx, ClusterInfo *cluster, bool live_check) cluster->controldata.logid = (uint32) atol(p); got_log_id = true; } - else if ((p = strstr(bufin, "First log file segment after reset:")) != NULL || - (cluster->is_edb_as && GET_MAJOR_VERSION(cluster->major_version) <= 803 && - (p = strstr(bufin, "Next log file segment:")) != NULL)) + else if ((p = strstr(bufin, "First log file segment after reset:")) != NULL) { p = strchr(p, ':'); |