pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: abrosich@ogs.trieste.it
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7818: Foreign server not visible under normal users
Date: Mon, 21 Jan 2013 14:12:53 -0500
Message-ID: <8873.1358795573@sss.pgh.pa.us> (raw)
In-Reply-To: <E1TxGMI-0008Vv-QQ@wrigleys.postgresql.org>
References: <E1TxGMI-0008Vv-QQ@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (2+ messages)

Message-ID: <8873.1358795573@sss.pgh.pa.us>
Permalink:  ../8873.1358795573@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8873.1358795573@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, abrosich@ogs.trieste.it
  Subject: Re: BUG #7818: Foreign server not visible under normal users
  In-Reply-To: <8873.1358795573@sss.pgh.pa.us>
  References: <E1TxGMI-0008Vv-QQ@wrigleys.postgresql.org> <8873.1358795573@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