Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxMnk-0005Cx-KT for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Jan 2013 19:13:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TxMnj-0006TB-GM for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Jan 2013 19:12:59 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxMni-0006T6-Vn for pgsql-bugs@postgresql.org; Mon, 21 Jan 2013 19:12:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxMng-0005Ct-Oo for pgsql-bugs@postgresql.org; Mon, 21 Jan 2013 19:12:58 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r0LJCsJV008874; Mon, 21 Jan 2013 14:12:54 -0500 (EST) From: Tom Lane To: abrosich@ogs.trieste.it cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7818: Foreign server not visible under normal users In-reply-to: References: Comments: In-reply-to abrosich@ogs.trieste.it message dated "Mon, 21 Jan 2013 12:20:14 +0000" Date: Mon, 21 Jan 2013 14:12:53 -0500 Message-ID: <8873.1358795573@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 abrosich@ogs.trieste.it writes: > I installed oracle_fdw (version 0.9.8). > Under "postgres" user works all fine and I can create tables and select from > them. > Despite the fact that I granted usage to a normal user (as specified in the > documentation, with the command "GRANT USAGE ON FOREIGN SERVER server TO > pguser;") > , that user cannot see the server: \des gives an empty list and every > command about foreign server gives an error (for example CREATE USER > MAPPING...). There is no permission-related filter in \des output. What seems most likely is that your "normal user" isn't connected to the same database that you created the FDW and foreign server in. 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