Move out of the concurrency control chapter, where mostly only user
table locks are discussed, and move to CREATE COLLATION reference page.
Author: Amit Langote
Author: Kyotaro HORIGUCHI
- Acquired by CREATE COLLATION,
- CREATE TRIGGER, and many forms of
+ Acquired by CREATE TRIGGER and many forms of
ALTER TABLE (see ).
Notes
+ CREATE COLLATION takes a SHARE ROW
+ EXCLUSIVE lock, which is self-conflicting, on the
+ pg_collation system catalog, so only one
+ CREATE COLLATION command can run at a time.
+
+
Use DROP COLLATION to remove user-defined collations.