projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
901b89e
)
Fix pg_dump against 9.1/9.2 servers.
author
Heikki Linnakangas
<
[email protected]
>
Tue, 26 Mar 2013 13:43:19 +0000
(15:43 +0200)
committer
Heikki Linnakangas
<
[email protected]
>
Tue, 26 Mar 2013 13:44:26 +0000
(15:44 +0200)
The parallel pg_dump patch forgot to add relpages column to 9.1/9.2 version
of the getTables() query.
Reported by Bernd Helmle.
src/bin/pg_dump/pg_dump.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_dump.c
b/src/bin/pg_dump/pg_dump.c
index 771822dab5d4412a8de4eb0bd4406fcbcc162bb1..5ad3aa7ca049488c61f8bb4ae351803de16c1c4a 100644
(file)
--- 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, "