postgresql_16:7.1.57.3 Notes
PostgreSQL 16 > Reference > SQL Commands > CREATE COLLATION > 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.
See (see postgresql_16:4.9.2.2) for more information on how to create collations.
When using the libc collation provider, the locale must be applicable to the current database encoding. See (see postgresql_16:7.1.59) for the precise rules.