| From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Use libc version as a collation version on glibc systems. |
| Date: | 2019-10-16 04:32:16 |
| Message-ID: | E1iKayu-0000Sl-CD@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Use libc version as a collation version on glibc systems.
Using glibc's version string to detect potential collation definition
changes is not 100% reliable, but it's better than nothing. Currently
this affects only collations explicitly provided by "libc". More work
will be needed to handle the default collation.
Author: Thomas Munro, based on a suggestion from Christoph Berg
Reviewed-by: Peter Eisentraut
Discussion: https://postgr.es/m/4b76c6d4-ae5e-0dc6-7d0d-b5c796a07e34%402ndquadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d5ac14f9ccdda036358c9059d4a29836ebc0c440
Modified Files
--------------
doc/src/sgml/ref/alter_collation.sgml | 10 ++++++++++
src/backend/utils/adt/pg_locale.c | 14 ++++++++++++--
src/bin/pg_dump/t/002_pg_dump.pl | 4 ++--
3 files changed, 24 insertions(+), 4 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Munro | 2019-10-16 05:03:13 | pgsql: Remove obsolete collation test. |
| Previous Message | Michael Paquier | 2019-10-16 04:17:28 | pgsql: Doc: Fix incorrect contributor name in release notes |