Refactor get_collation_current_version().

Thomas Munro <tmunro@postgresql.org>

Commit: beb4480c853a60ec43bd3f1a71252890dd234f10
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2021-02-22T10:32:16Z
Releases: 14.0
Refactor get_collation_current_version().

The code paths for three different OSes finished up with three different
ways of excluding C[.xxx] and POSIX from consideration.  Merge them.

Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/20210117215940.GE8560%40telsasoft.com

Files

PathChange+/−
src/backend/utils/adt/pg_locale.c modified +4 −30

Discussion