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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #7818: Foreign server not visible under normal users
Дата
Msg-id 8873.1358795573@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #7818: Foreign server not visible under normal users  (abrosich@ogs.trieste.it)
Список pgsql-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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: abrosich@ogs.trieste.it
Дата:
Сообщение: BUG #7818: Foreign server not visible under normal users
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #7816: test for compiler output produces bogus results