postgresql_16:9.6.10 citext — a case-insensitive character string type
PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > citext — a case-insensitive character string type
The citext module provides a case-insensitive character string type, citext. Essentially, it internally calls lower when comparing values. Otherwise, it behaves almost exactly like text.
Tip
Consider using *nondeterministic collations* (see (see postgresql_16:4.9.2.2)) instead of this module. They can be used for case-insensitive comparisons, accent-insensitive comparisons, and other combinations, and they handle more Unicode special cases correctly.
This module is considered “trusted”, that is, it can be installed by non-superusers who have CREATE privilege on the current database.
Subsections
- postgresql_16:9.6.10.1 Rationale
- postgresql_16:9.6.10.2 How to Use It
- postgresql_16:9.6.10.3 String Comparison Behavior
- postgresql_16:9.6.10.4 Limitations
- postgresql_16:9.6.10.5 Author