Re: BUG #7818: Foreign server not visible under normal users

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: abrosich(at)ogs(dot)trieste(dot)it
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7818: Foreign server not visible under normal users
Date: 2013-01-21 19:12:53
Message-ID: 8873.1358795573@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

abrosich(at)ogs(dot)trieste(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2013-01-21 19:53:56 Re: BUG #7816: test for compiler output produces bogus results
Previous Message Magnus Hagander 2013-01-21 12:51:44 Re: Review of "pg_basebackup and pg_receivexlog to use non-blocking socket communication", was: Re: Re: [BUGS] BUG #7534: walreceiver takes long time to detect n/w breakdown