aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-04-13 00:39:19 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-04-13 00:39:19 -0400
commita2f9219e7053bf2395c50b198379d1073dbc2298 (patch)
tree5a37029d9f2f70bb173976601cbaeb74e3d44ef7 /src
parent0ae8b300388c2a3eaf90e6e6f13d6be1f4d4ac2d (diff)
downloadpostgresql-a2f9219e7053bf2395c50b198379d1073dbc2298.tar.gz
postgresql-a2f9219e7053bf2395c50b198379d1073dbc2298.zip
Fix broken pg_dump query.
The 8.4 branch failed when talking to 7.0 servers. Per testing requested by Bruce.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_dump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index c5057f7e476..ccbc1d8b9e3 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -3415,6 +3415,8 @@ getTables(int *numTables)
"relhasindex, relhasrules, "
"'t'::bool AS relhasoids, "
"0 as relfrozenxid, "
+ "0 AS toid, "
+ "0 AS tfrozenxid, "
"NULL::oid AS owning_tab, "
"NULL::int4 AS owning_col, "
"NULL AS reltablespace, "