pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: byteslayer7@gmail.com
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-docs@postgresql.org
Subject: Re: BUG #8901: postgres_fdw double-qualifying schemas
Date: Tue, 21 Jan 2014 12:12:26 -0500
Message-ID: <29750.1390324346@sss.pgh.pa.us> (raw)
In-Reply-To: <20140121153453.GO31026@tamriel.snowman.net>
References: <20140121140504.26700.70742@wrigleys.postgresql.org>
	<20140121153453.GO31026@tamriel.snowman.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Stephen Frost <sfrost@snowman.net> writes:
> * byteslayer7@gmail.com (byteslayer7@gmail.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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)

Message-ID: <29750.1390324346@sss.pgh.pa.us>
Permalink:  ../29750.1390324346@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29750.1390324346@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sfrost@snowman.net, byteslayer7@gmail.com, pgsql-docs@postgresql.org
  Subject: Re: BUG #8901: postgres_fdw double-qualifying schemas
  In-Reply-To: <29750.1390324346@sss.pgh.pa.us>
  References: <20140121140504.26700.70742@wrigleys.postgresql.org> <20140121153453.GO31026@tamriel.snowman.net> <29750.1390324346@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox