Fix some bogosities in pg_dump's foreign-table support.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 28 Nov 2011 17:51:41 +0000 (12:51 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 28 Nov 2011 17:51:41 +0000 (12:51 -0500)
commit9761ad672f5c84e551f56b7923bc9bbba696578d
tree49abe947be62e383b675ad69da927fc8c8cdc780
parent64aea1ebc70dc597b79e2f7f4451472510a1e9bf
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.
src/bin/pg_dump/pg_dump.c