BUG #15275: Trigger don't take supperuser role into account to createrole
В списке pgsql-bugs по дате отправления:
| От | PG Bug reporting form |
|---|---|
| Тема | BUG #15275: Trigger don't take supperuser role into account to createrole |
| Дата | |
| Msg-id | 153132925706.1402.11578156245015430856@wrigleys.postgresql.org обсуждение |
| Ответы |
Re: BUG #15275: Trigger don't take supperuser role into account tocreate role
|
| Список | pgsql-bugs |
The following bug has been logged on the website: Bug reference: 15275 Logged by: Alexandre Marquis Email address: alexandre.marquis@mamot.gouv.qc.ca PostgreSQL version: 10.0 Operating system: Windows Description: I've got a trigger whose purpose is to create a postgres user every time an employee is added to my employee table. If I use my SUPERUSER account to add an employee it doesn't work because I've got NOCREATEROLE instead of CREATEROLE. But according to the CREATE ROLE docs at https://www.postgresql.org/docs/10/static/sql-createrole.html, " You must have CREATEROLE privilege or be a database superuser to use this command." so as a superuser this should work. Thx for the help!
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера