Skip to content

Commit 625b237

Browse files
committed
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.
1 parent 901b89e commit 625b237

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4300,6 +4300,7 @@ getTables(Archive *fout, int *numTables)
43004300
"c.relfrozenxid, tc.oid AS toid, "
43014301
"tc.relfrozenxid AS tfrozenxid, "
43024302
"c.relpersistence, 't'::bool as isscannable, "
4303+
"c.relpages, "
43034304
"CASE WHEN c.reloftype <> 0 THEN c.reloftype::pg_catalog.regtype ELSE NULL END AS reloftype, "
43044305
"d.refobjid AS owning_tab, "
43054306
"d.refobjsubid AS owning_col, "

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy