Re: pg_replication_origin_session_setup and superuser
Вложения
В списке pgsql-hackers по дате отправления:
| От | Michael Paquier |
|---|---|
| Тема | Re: pg_replication_origin_session_setup and superuser |
| Дата | |
| Msg-id | YCsXGnnMCfA0GkR2@paquier.xyz обсуждение |
| Ответ на | pg_replication_origin_session_setup and superuser (Zohar Gofer <Zohar.Gofer@amdocs.com>) |
| Ответы |
RE: pg_replication_origin_session_setup and superuser
|
| Список | pgsql-hackers |
On Mon, Feb 15, 2021 at 09:37:53AM +0000, Zohar Gofer wrote: > In my mind the requirement for superuser is too strong. I think that > requiring privileges of a replication user is more suitable. This > way we can require that only a user with replication privileges will > actually do replication, even if this is not really a replication. PostgreSQL 14 will remove those hardcoded superuser checks. Please see this thread: https://www.postgresql.org/message-id/CAPdiE1xJMZOKQL3dgHMUrPqysZkgwzSMXETfKkHYnBAB7-0VRQ@mail.gmail.com And its related commit: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=cc072641d41c55c6aa24a331fc1f8029e0a8d799 While the default is still superuser-only, it becomes possible to grant access to this stuff to other roles that have no need to be superusers. -- Michael
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера