mirror of
https://github.com/postgres/postgres.git
synced 2026-04-29 18:32:53 -04:00
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.
This commit is contained in:
parent
901b89e37b
commit
625b237f79
1 changed files with 1 additions and 0 deletions
|
|
@ -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, "
|
||||
|
|
|
|||
Loading…
Reference in a new issue