Re: BUG #8901: postgres_fdw double-qualifying schemas

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: byteslayer7(at)gmail(dot)com, pgsql-bugs(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: BUG #8901: postgres_fdw double-qualifying schemas
Date: 2014-01-21 17:12:26
Message-ID: 29750.1390324346@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-docs

Stephen Frost <sfrost(at)snowman(dot)net> writes:
> * byteslayer7(at)gmail(dot)com (byteslayer7(at)gmail(dot)com) wrote:
>> I posted a question on Stackoverflow regarding postgres_fdw. I was advised
>> to report it here and link to it:
>> [...]
>> ) SERVER export_server OPTIONS (table_name 'export_schema.aa');
>> SELECT * FROM import_schema.aa;
>>
>> Which I expect to work, instead gives this error:

> Use: OPTIONS (schema_name 'export_schema' table_name 'aa'); above.

This is documented in the postgres_fdw reference page, but I notice that
page has absolutely no examples. A concrete example or two might help
perhaps. Anybody feel like working up a patch?

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Mikhail Pryakhin 2014-01-21 21:00:39 Socket unexpectedly closed by a frontend while communicating with the backend
Previous Message Stephen Frost 2014-01-21 15:34:53 Re: BUG #8901: postgres_fdw double-qualifying schemas

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2014-01-23 03:27:29 Re: Missing date_trunc docs
Previous Message Stephen Frost 2014-01-21 15:34:53 Re: BUG #8901: postgres_fdw double-qualifying schemas