pgsql: Control collation behavior with a method table. - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Control collation behavior with a method table.
Date
Msg-id E1tVegy-000Z0Y-Jd@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Control collation behavior with a method table.

Previously, behavior branched based on the provider. A method table is
less error-prone and more flexible.

The ctype behavior will be addressed in an upcoming commit.

Reviewed-by: Andreas Karlsson
Discussion: https://postgr.es/m/2830211e1b6e6a2e26d845780b03e125281ea17b.camel%40j-davis.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a2f17f004d229f69a32cfa80904b95edcbc68f95

Modified Files
--------------
src/backend/utils/adt/pg_locale.c      | 123 ++++-----------------------
src/backend/utils/adt/pg_locale_icu.c  | 147 +++++++++++++++++++--------------
src/backend/utils/adt/pg_locale_libc.c |  53 ++++++++++--
src/include/utils/pg_locale.h          |  33 ++++++++
4 files changed, 180 insertions(+), 176 deletions(-)


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: Move code for collation version into provider-specific files.
Next
From: Jeff Davis
Date:
Subject: pgsql: Fix duplicate typedef from commit a2f17f004d.