DROP INDEX docs - explicit lock naming
Greg Rychlewski <greg.rychlewski@gmail.com>
From: Greg Rychlewski <greg.rychlewski@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2021-03-30T14:33:46Z
Lists: pgsql-hackers
Attachments
- v1-drop-index-doc.patch (application/octet-stream) patch v1
Hi, While reading the documentation for DROP INDEX[1], I noticed the lock was described colloquially as an "exclusive" lock, which made me pause for a second because it's the same name as the EXCLUSIVE table lock. The attached patch explicitly states that an ACCESS EXCLUSIVE lock is acquired. [1] https://www.postgresql.org/docs/current/sql-dropindex.html
Commits
-
doc: Clarify use of ACCESS EXCLUSIVE lock in various sections
- 5ae07439db9e 9.6.22 landed
- dce3d2610dd6 10.17 landed
- dd5d04e5da83 11.12 landed
- a126a9510def 12.7 landed
- 876ecfba4d82 13.3 landed
- ffd3391ea941 14.0 landed