]> granicus.if.org Git - postgresql/commit
Use libc version as a collation version on glibc systems.
authorThomas Munro <tmunro@postgresql.org>
Wed, 16 Oct 2019 03:51:40 +0000 (16:51 +1300)
committerThomas Munro <tmunro@postgresql.org>
Wed, 16 Oct 2019 04:28:24 +0000 (17:28 +1300)
commitd5ac14f9ccdda036358c9059d4a29836ebc0c440
tree3d7e1242ce542914a89467af88099bdccf116fbe
parent4351142e5843dc9fcb080a51aa082d63be59a5ab
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
doc/src/sgml/ref/alter_collation.sgml
src/backend/utils/adt/pg_locale.c
src/bin/pg_dump/t/002_pg_dump.pl