pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use libc version as a collation version on glibc systems.
Date: Wed, 16 Oct 2019 04:32:16 +0000
Message-ID: <E1iKayu-0000Sl-CD@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)

Message-ID: <E1iKayu-0000Sl-CD@gemulon.postgresql.org>
Permalink:  ../E1iKayu-0000Sl-CD@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iKayu-0000Sl-CD@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Use libc version as a collation version on glibc systems.
  In-Reply-To: <E1iKayu-0000Sl-CD@gemulon.postgresql.org>
  References: <E1iKayu-0000Sl-CD@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox