summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/pg_dump/pg_dump.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index a527bfca5d..1d237e3056 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -5930,12 +5930,9 @@ getTables(Archive *fout, int *numTables)
i_owning_tab = PQfnumber(res, "owning_tab");
i_owning_col = PQfnumber(res, "owning_col");
#ifdef PGXC
- if (fout->isPostgresXL)
- {
- i_pgxclocatortype = PQfnumber(res, "pgxclocatortype");
- i_pgxcattnum = PQfnumber(res, "pgxcattnum");
- i_pgxc_node_names = PQfnumber(res, "pgxc_node_names");
- }
+ i_pgxclocatortype = PQfnumber(res, "pgxclocatortype");
+ i_pgxcattnum = PQfnumber(res, "pgxcattnum");
+ i_pgxc_node_names = PQfnumber(res, "pgxc_node_names");
#endif
i_reltablespace = PQfnumber(res, "reltablespace");
i_reloptions = PQfnumber(res, "reloptions");