Re: Is it possible to stop sessions killing eachother when they all authorize as the same role?
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Is it possible to stop sessions killing eachother when they all authorize as the same role? |
| Дата | |
| Msg-id | 3092212.1663212466@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Is it possible to stop sessions killing eachother when they all authorize as the same role? (Mladen Gogala <gogala.mladen@gmail.com>) |
| Ответы |
Re: Is it possible to stop sessions killing eachother when they all authorize as the same role?
|
| Список | pgsql-general |
Mladen Gogala <gogala.mladen@gmail.com> writes:
> Tom, I did the same thing on 14.5, and it behaves as Bryn alleges:
Looks to me like you made the same mistake as Bryn. You
revoked the permission in the postgres database:
> postgres=# select proacl from pg_proc where proname =
^^^^^^^^
> 'pg_terminate_backend';
> proacl
> -----------------------
> {postgres=X/postgres}
> (1 row)
> mgogala@umajor ~]$ psql -U scott
> Password for user scott: psql (14.5)
> Type "help" for help.
> scott=> select pid from pg_stat_activity where
^^^^^
... and here you're testing the permission in the "scott" database.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера