diff options
| author | Michael P | 2012-03-08 00:15:01 +0000 |
|---|---|---|
| committer | Michael P | 2012-03-08 00:16:53 +0000 |
| commit | fceab33309fbbfd0c9a6bb533f823a60d60b7e16 (patch) | |
| tree | 0ac8a0fce5972902f088cba7f3ef50b9a3c0fa16 /src/bin | |
| parent | efee9222b58c4628a620f88aa5679f5823fc8dda (diff) | |
Fix code alignement issue with pg_dump
This issue was perhaps due to merge with postgres 9.1.
Patch by Andrei Andrei Martsinchyk
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/pg_dump/pg_dump.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index ba4263f9b1..e9cbf80b05 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -3870,6 +3870,10 @@ getTables(int *numTables) "d.refobjid AS owning_tab, " "d.refobjsubid AS owning_col, " "(SELECT spcname FROM pg_tablespace t WHERE t.oid = c.reltablespace) AS reltablespace, " +#ifdef PGXC + "(SELECT pclocatortype from pgxc_class v where v.pcrelid = c.oid) AS pgxclocatortype," + "(SELECT pcattnum from pgxc_class v where v.pcrelid = c.oid) AS pgxcattnum," +#endif "array_to_string(c.reloptions, ', ') AS reloptions, " "array_to_string(array(SELECT 'toast.' || x FROM unnest(tc.reloptions) x), ', ') AS toast_reloptions " "FROM pg_class c " @@ -3943,10 +3947,6 @@ getTables(int *numTables) "d.refobjid AS owning_tab, " "d.refobjsubid AS owning_col, " "(SELECT spcname FROM pg_tablespace t WHERE t.oid = c.reltablespace) AS reltablespace, " -#ifdef PGXC - "(SELECT pclocatortype from pgxc_class v where v.pcrelid = c.oid) AS pgxclocatortype," - "(SELECT pcattnum from pgxc_class v where v.pcrelid = c.oid) AS pgxcattnum," -#endif "array_to_string(c.reloptions, ', ') AS reloptions, " "array_to_string(array(SELECT 'toast.' || x FROM unnest(tc.reloptions) x), ', ') AS toast_reloptions " "FROM pg_class c " |
