Re: Fwd: Why does pg_rewind deny permission for pg_read_binary_file() other than 'dbname=postgres'?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fwd: Why does pg_rewind deny permission for pg_read_binary_file() other than 'dbname=postgres'?
Дата
Msg-id 1430191.1697162638@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fwd: Why does pg_rewind deny permission for pg_read_binary_file() other than 'dbname=postgres'?  (Zhaoxun Yan <yan.zhaoxun@gmail.com>)
Ответы Re: Fwd: Why does pg_rewind deny permission for pg_read_binary_file() other than 'dbname=postgres'?  (Zhaoxun Yan <yan.zhaoxun@gmail.com>)
Список pgsql-admin
Zhaoxun Yan <yan.zhaoxun@gmail.com> writes:
> The results are the same, 'dbname=repmgr' is the root cause of the error,
> since 'dbname=postgres' went well with both 'user=rep' and 'user=rewinder',
> while 'dbname=repmgr' generates exactly the same error.

As far as I can tell, you granted permissions on that function
in the postgres database, but not any other database.  Function
permissions, like most others, are database-local in Postgres.

            regards, tom lane



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

Предыдущее
От: Zhaoxun Yan
Дата:
Сообщение: Re: Fwd: Why does pg_rewind deny permission for pg_read_binary_file() other than 'dbname=postgres'?
Следующее
От: Scott Ribe
Дата:
Сообщение: Re: Locks analyze