pgsql: Fix some bogosities in pg_dump's foreign-table support.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix some bogosities in pg_dump's foreign-table support.
Date: 2011-11-28 17:51:58
Message-ID: E1RV5N0-0004jw-7T@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix some bogosities in pg_dump's foreign-table support.

The server name for a foreign table was not quoted at need, as per report
from Ronan Dunklau. Also, queries related to FDW options were inadequately
schema-qualified in places where the search path isn't just pg_catalog, and
were inconsistently formatted everywhere, and we didn't always check that
we got the expected number of rows from them.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5c19c057dcdaef08b89e751f7e335cc1f6a1e21f

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 61 ++++++++++++++++++++++++++++----------------
1 files changed, 39 insertions(+), 22 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-11-28 18:52:45 pgsql: Remove erroneous claim about use of pg_locks.objid for advisory
Previous Message Alvaro Herrera 2011-11-28 17:48:27 Re: pgsql: Make pg_dumpall build with the right object files under MSVC.