diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-03-26 15:43:19 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-03-26 15:44:26 +0200 |
commit | 625b237f79ec59369e6083f041649adf4fdc1080 (patch) | |
tree | ddcf5af45e7c6a54743ae3eaf5dd9c61fc781cfa | |
parent | 901b89e37bb8e71224ee76987679010ff3c93c05 (diff) | |
download | postgresql-625b237f79ec59369e6083f041649adf4fdc1080.tar.gz postgresql-625b237f79ec59369e6083f041649adf4fdc1080.zip |
Fix pg_dump against 9.1/9.2 servers.
The parallel pg_dump patch forgot to add relpages column to 9.1/9.2 version
of the getTables() query.
Reported by Bernd Helmle.
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 771822dab5d..5ad3aa7ca04 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -4300,6 +4300,7 @@ getTables(Archive *fout, int *numTables) "c.relfrozenxid, tc.oid AS toid, " "tc.relfrozenxid AS tfrozenxid, " "c.relpersistence, 't'::bool as isscannable, " + "c.relpages, " "CASE WHEN c.reloftype <> 0 THEN c.reloftype::pg_catalog.regtype ELSE NULL END AS reloftype, " "d.refobjid AS owning_tab, " "d.refobjsubid AS owning_col, " |