pg.ddx.io pgsql-docs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
DROP TRIGGER lock 2+ messages / 2 participants [nested] [flat]
* DROP TRIGGER lock @ 2024-06-07 15:06 Dull Bananas <dull.bananas0@gmail.com> 2024-06-08 02:53 ` Re: DROP TRIGGER lock Euler Taveira <euler@eulerto.com> 0 siblings, 1 reply; 2+ messages in thread From: Dull Bananas @ 2024-06-07 15:06 UTC (permalink / raw) To: pgsql-docs@lists.postgresql.org On these pages, it should be mentioned that DROP TRIGGER acquires an ACCESS EXCLUSIVE lock: <https://www.postgresql.org/docs/current/explicit-locking.html; https://www.postgresql.org/docs/16/explicit-locking.html#LOCKING-TABLES https://www.postgresql.org/docs/16/sql-droptrigger.html <https://www.postgresql.org/docs/current/sql-droptrigger.html; ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: DROP TRIGGER lock 2024-06-07 15:06 DROP TRIGGER lock Dull Bananas <dull.bananas0@gmail.com> @ 2024-06-08 02:53 ` Euler Taveira <euler@eulerto.com> 0 siblings, 0 replies; 2+ messages in thread From: Euler Taveira @ 2024-06-08 02:53 UTC (permalink / raw) To: Dull Bananas <dull.bananas0@gmail.com>; pgsql-docs@lists.postgresql.org On Fri, Jun 7, 2024, at 12:06 PM, Dull Bananas wrote: > On these pages, it should be mentioned that DROP TRIGGER acquires an ACCESS EXCLUSIVE lock: > <https://www.postgresql.org/docs/current/explicit-locking.html; > https://www.postgresql.org/docs/16/explicit-locking.html#LOCKING-TABLES > > https://www.postgresql.org/docs/16/sql-droptrigger.html <https://www.postgresql.org/docs/current/sql-droptrigger.html; If I would add such information it would be in the latter. AFAICS the former provides some examples of SQL commands that take AccessExclusiveLock. If you search for AccessExclusiveLock into src/backend/commands/* you will notice that there are more commands that were not mentioned in the Table-Level Locks section. Feel free to propose a patch. -- Euler Taveira EDB https://www.enterprisedb.com/ ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-06-08 02:53 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2024-06-07 15:06 DROP TRIGGER lock Dull Bananas <dull.bananas0@gmail.com> 2024-06-08 02:53 ` Euler Taveira <euler@eulerto.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox