pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Use libc version as a collation version on glibc systems.
2+ messages / 2 participants
[nested] [flat]

* pgsql: Use libc version as a collation version on glibc systems.
@ 2019-10-09 19:18 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2019-10-09 19:18 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Use libc version as a collation version on glibc systems.

Using glibc's version number to detect potential collation definition
changes is not 100% reliable, but it's better than nothing.

Author: Thomas Munro
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/9f90b1d08d796a925808b24f77f624a0ff682c77

Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Use libc version as a collation version on glibc systems.
@ 2019-10-16 04:32 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Thomas Munro @ 2019-10-16 04:32 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-10-16 04:32 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-10-09 19:18 pgsql: Use libc version as a collation version on glibc systems. Peter Eisentraut <peter@eisentraut.org>
2019-10-16 04:32 pgsql: Use libc version as a collation version on glibc systems. Thomas Munro <tmunro@postgresql.org>

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