Re: LOCK docs and permissions

2024-04-05 Thread Jens Tröger
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, o

Re: LOCK docs and permissions

2024-04-05 Thread Laurenz Albe
On Fri, 2024-04-05 at 10:25 +, PG Doc comments form wrote: > Page: https://www.postgresql.org/docs/16/explicit-locking.html > Description: > > It appears that LOCK on a schema.table requires particular permissions but I > can’t find which ones need to be granted in a schema.table in order to l