Fix broken pg_dump query.
authorTom Lane <[email protected]>
Wed, 13 Apr 2011 04:39:19 +0000 (00:39 -0400)
committerTom Lane <[email protected]>
Wed, 13 Apr 2011 04:39:19 +0000 (00:39 -0400)
The 8.4 branch failed when talking to 7.0 servers.  Per testing requested
by Bruce.

src/bin/pg_dump/pg_dump.c

index c5057f7e47627ab58b66966117a1d19f5ebb9b6d..ccbc1d8b9e344b1858b7d099f8a80d415139e26f 100644 (file)
@@ -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, "