Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5esJ-0006eG-SZ for pgsql-bugs@arkaria.postgresql.org; Tue, 21 Jan 2014 17:12:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W5esJ-0007Qv-BL for pgsql-bugs@arkaria.postgresql.org; Tue, 21 Jan 2014 17:12:31 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5esI-0007Qg-AZ; Tue, 21 Jan 2014 17:12:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5esF-0002mG-QI; Tue, 21 Jan 2014 17:12:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s0LHCQpt029751; Tue, 21 Jan 2014 12:12:26 -0500 From: Tom Lane To: Stephen Frost cc: byteslayer7@gmail.com, pgsql-bugs@postgresql.org, pgsql-docs@postgresql.org Subject: Re: BUG #8901: postgres_fdw double-qualifying schemas In-reply-to: <20140121153453.GO31026@tamriel.snowman.net> References: <20140121140504.26700.70742@wrigleys.postgresql.org> <20140121153453.GO31026@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Tue, 21 Jan 2014 10:34:53 -0500" Date: Tue, 21 Jan 2014 12:12:26 -0500 Message-ID: <29750.1390324346@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Stephen Frost 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