postgres.git / summary / log / commit / refs
commit a2f9219e7053bf2395c50b198379d1073dbc2298
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Wed Apr 13 04:39:19 2011 +0000
First released in: 8.4.8
Fix broken pg_dump query.
The 8.4 branch failed when talking to 7.0 servers. Per testing requested
by Bruce.
src/bin/pg_dump/pg_dump.c | 2 ++
1 file changed, 2 insertions(+)
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, "
[parent: 0ae8b300388c]