Remove redundant check for default collation.

Jeff Davis <jdavis@postgresql.org>

Commit: 6a9fc11033e61d0dde30d5114887714dbd7612d5
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2024-09-12T20:35:49Z
Releases: 18.0
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

Files

PathChange+/−
src/backend/utils/adt/varlena.c modified +0 −1

Discussion