pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Ensure all pg_locale.h APIs work with collate_is_c.
3+ messages / 1 participants
[nested] [flat]

* pgsql: Ensure all pg_locale.h APIs work with collate_is_c.
@ 2026-08-20 16:41  Jeff Davis <jdavis@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Jeff Davis @ 2026-08-20 16:41 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ensure all pg_locale.h APIs work with collate_is_c.

Safer for callers, so that checking collate_is_c is only needed if the
caller wants to optimize for that case.

Backpatch to avoid creating a hazard for other backpatches in this
area.

Suggested-by: Andres Freund <andres@anarazel.de>
Suggested-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://postgr.es/m/v36ssaygf7grb3qzfsjhtdzi7kqd45ds56nyuf7gi5qjml4qbb@ezmfqzmhlrs2
Backpatch-through: 18

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 55 ++++++++++++++++++++++++++++++++++-----
1 file changed, 49 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Ensure all pg_locale.h APIs work with collate_is_c.
@ 2026-08-20 16:41  Jeff Davis <jdavis@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Jeff Davis @ 2026-08-20 16:41 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ensure all pg_locale.h APIs work with collate_is_c.

Safer for callers, so that checking collate_is_c is only needed if the
caller wants to optimize for that case.

Backpatch to avoid creating a hazard for other backpatches in this
area.

Suggested-by: Andres Freund <andres@anarazel.de>
Suggested-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://postgr.es/m/v36ssaygf7grb3qzfsjhtdzi7kqd45ds56nyuf7gi5qjml4qbb@ezmfqzmhlrs2
Backpatch-through: 18

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5e9d23f98cc1c5a7b4add5b843a564fe9c35c6b3

Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 55 ++++++++++++++++++++++++++++++++++-----
1 file changed, 49 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Ensure all pg_locale.h APIs work with collate_is_c.
@ 2026-08-20 16:41  Jeff Davis <jdavis@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Jeff Davis @ 2026-08-20 16:41 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ensure all pg_locale.h APIs work with collate_is_c.

Safer for callers, so that checking collate_is_c is only needed if the
caller wants to optimize for that case.

Backpatch to avoid creating a hazard for other backpatches in this
area.

Suggested-by: Andres Freund <andres@anarazel.de>
Suggested-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://postgr.es/m/v36ssaygf7grb3qzfsjhtdzi7kqd45ds56nyuf7gi5qjml4qbb@ezmfqzmhlrs2
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/47c350c522e3c6624d03cbe7630c167302926881

Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 64 +++++++++++++++++++++++++++++++++++----
1 file changed, 58 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2026-08-20 16:41 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-08-20 16:41 pgsql: Ensure all pg_locale.h APIs work with collate_is_c. Jeff Davis <jdavis@postgresql.org>
2026-08-20 16:41 pgsql: Ensure all pg_locale.h APIs work with collate_is_c. Jeff Davis <jdavis@postgresql.org>
2026-08-20 16:41 pgsql: Ensure all pg_locale.h APIs work with collate_is_c. Jeff Davis <jdavis@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox