Fix assertion in collation version lookup.

Thomas Munro <tmunro@postgresql.org>

Commit: d50e3b1f8d763d51080ca4f6cbaa6818a6472292
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2020-11-08T07:45:29Z
Releases: 14.0
Fix assertion in collation version lookup.

Commit 257836a7 included an assertion that a version lookup routine is
not trying to look up "C" or "POSIX", but that case is reachable with
the user-facing SQL function pg_collation_actual_version().  Remove the
assertion.

Files

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