pgsql: Fix assertion in collation version lookup.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix assertion in collation version lookup.
Date: 2020-11-08 07:53:29
Message-ID: E1kbfVx-0000sE-00@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d50e3b1f8d763d51080ca4f6cbaa6818a6472292

Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-11-08 18:08:54 pgsql: In INSERT/UPDATE, use the table's real tuple descriptor as targe
Previous Message Peter Eisentraut 2020-11-08 06:51:31 pgsql: Fix test for error message change