Simplify checks for deterministic collations.

Jeff Davis <jdavis@postgresql.org>

Commit: b0c30612c5f6ce519172396527781a0666937363
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2024-09-12T20:35:56Z
Releases: 18.0
Simplify checks for deterministic collations.

Remove redundant checks for locale->collate_is_c now that we always
have a valid pg_locale_t.

Also, remove pg_locale_deterministic() wrapper, which is no longer
useful after commit e9931bfb75. Just check the field directly,
consistent with other fields in pg_locale_t.

Author: Andreas Karlsson
Discussion: https://postgr.es/m/60929555-4709-40a7-b136-bcb44cff5a3c@proxel.se

Files

Discussion