diff --git a/src/bin/scripts/common.c b/src/bin/scripts/common.c index 29f5c97faf..9a6060416b 100644 --- a/src/bin/scripts/common.c +++ b/src/bin/scripts/common.c @@ -145,9 +145,8 @@ connectDatabase(const char *dbname, const char *pghost, exit(1); } - if (PQserverVersion(conn) >= 70300) - PQclear(executeQuery(conn, ALWAYS_SECURE_SEARCH_PATH_SQL, - progname, echo)); + PQclear(executeQuery(conn, ALWAYS_SECURE_SEARCH_PATH_SQL, + progname, echo)); return conn; } @@ -311,13 +310,6 @@ appendQualifiedRelation(PQExpBuffer buf, const char *spec, PGresult *res; int ntups; - /* Before 7.3, the concept of qualifying a name did not exist. */ - if (PQserverVersion(conn) < 70300) - { - appendPQExpBufferStr(&sql, spec); - return; - } - split_table_columns_spec(spec, PQclientEncoding(conn), &table, &columns); /*