| От | Jens Tröger |
|---|---|
| Тема | Re: LOCK docs and permissions |
| Дата | |
| Msg-id | Zg_qtRzgiKJVN3sJ@light-speed.de обсуждение |
| Ответ на | Re: LOCK docs and permissions (Laurenz Albe <laurenz.albe@cybertec.at>) |
| Список | pgsql-docs |
Thank you, Laurenz, I missed that completely 🤦🏻♂️ Jens > https://www.postgresql.org/docs/current/sql-lock.html#id-1.9.3.155.7 > > "To lock a table, the user must have the right privilege for the specified > lockmode, or be the table's owner or a superuser. If the user has UPDATE, > DELETE, or TRUNCATE privileges on the table, any lockmode is permitted. > If the user has INSERT privileges on the table, ROW EXCLUSIVE MODE > (or a less-conflicting mode as described in Section 13.3) is permitted. > If a user has SELECT privileges on the table, ACCESS SHARE MODE is permitted." > > Yours, > Laurenz Albe
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера