Problem/Motivation
PostgreSQL is currently not behaving as MySQL or SQLite in terms of case-sensitivity for text. Please see #1518506: Normalize how case sensitivity is handled across database engines for a more detailed description of the problem.
Decision questions:
- How often is postgresql-contrib package available on shared web hosts?
- Is postgresql-contrib available on most Drupal web hosting providers that support Drupal 8?
Proposed resolution
Mimic the CITEXT-extention for PostgreSQL. The CITEXT extention mimics the MySQL and SQLite behavior in terms of case-sensitiveness. By mimicing the CITEXT-extention there is no need to have the end-user install the real CITEXT-extention.
Remaining tasks
Decide
Write patch.
User interface changes
None.
API changes
None.