pgsql: Remove redundant check for default collation.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove redundant check for default collation.
Date: 2024-09-12 21:03:54
Message-ID: E1soqyn-000nl1-Tb@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove redundant check for default collation.

The operative check is for a deterministic collation, so the check for
DEFAULT_COLLATION is redundant. Furthermore, it will be wrong if we
ever support a non-deterministic default collation.

Author: Andreas Karlsson
Discussion: https://postgr.es/m/60929555-4709-40a7-b136-bcb44cff5a3c@proxel.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6a9fc11033e61d0dde30d5114887714dbd7612d5

Modified Files
--------------
src/backend/utils/adt/varlena.c | 1 -
1 file changed, 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2024-09-12 21:33:27 pgsql: Reintroduce support for sequences in pgstattuple and pageinspect
Previous Message Tom Lane 2024-09-12 18:30:32 pgsql: Make jsonpath .string() be immutable for datetimes.