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)
Список
Дерево обсуждения
Why does pg_rewind deny permission for pg_read_binary_file() other than 'dbname=postgres'? Zhaoxun Yan <yan.zhaoxun@gmail.com>
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'? Ron <ronljohnsonjr@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>
Re: Fwd: Why does pg_rewind deny permission for pg_read_binary_file() other than 'dbname=postgres'? Ron <ronljohnsonjr@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>
Re: Fwd: Why does pg_rewind deny permission for pg_read_binary_file() other than 'dbname=postgres'? Tom Lane <tgl@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: Why does pg_rewind deny permission for pg_read_binary_file() other than 'dbname=postgres'? "David G. Johnston" <david.g.johnston@gmail.com>
Zhaoxun Yan 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
Дата: