pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: pg_unicode_fast: fix final sigma logic.
3+ messages / 1 participants
[nested] [flat]

* pgsql: pg_unicode_fast: fix final sigma logic.
@ 2026-07-07 21:54 Jeff Davis <jdavis@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Jeff Davis @ 2026-07-07 21:54 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

pg_unicode_fast: fix final sigma logic.

If the string is preceded only by Case Ignorable characters, don't
consider it to be a final sigma.

In the process, refactor so that the preceding and following
characters are found first, and then the rule is applied, to improve
clarity.

Discussion: https://postgr.es/m/c355354e6c3f4a7aafb047361b73db247260fca0.camel@j-davis.com
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/36869368989ce37d85c08c33258eb01ae96e2375

Modified Files
--------------
src/common/unicode_case.c                  | 88 ++++++++++++++----------------
src/test/regress/expected/collate.utf8.out |  6 ++
src/test/regress/sql/collate.utf8.sql      |  1 +
3 files changed, 47 insertions(+), 48 deletions(-)



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

* pgsql: pg_unicode_fast: fix final sigma logic.
@ 2026-07-07 21:54 Jeff Davis <jdavis@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Jeff Davis @ 2026-07-07 21:54 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

pg_unicode_fast: fix final sigma logic.

If the string is preceded only by Case Ignorable characters, don't
consider it to be a final sigma.

In the process, refactor so that the preceding and following
characters are found first, and then the rule is applied, to improve
clarity.

Discussion: https://postgr.es/m/c355354e6c3f4a7aafb047361b73db247260fca0.camel@j-davis.com
Backpatch-through: 18

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/28d498e28031f026b8416a4c8439ddda62dfb00f

Modified Files
--------------
src/common/unicode_case.c                  | 88 ++++++++++++++----------------
src/test/regress/expected/collate.utf8.out |  6 ++
src/test/regress/sql/collate.utf8.sql      |  1 +
3 files changed, 47 insertions(+), 48 deletions(-)



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

* pgsql: pg_unicode_fast: fix final sigma logic.
@ 2026-07-07 22:05 Jeff Davis <jdavis@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Jeff Davis @ 2026-07-07 22:05 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

pg_unicode_fast: fix final sigma logic.

If the string is preceded only by Case Ignorable characters, don't
consider it to be a final sigma.

In the process, refactor so that the preceding and following
characters are found first, and then the rule is applied, to improve
clarity.

Discussion: https://postgr.es/m/c355354e6c3f4a7aafb047361b73db247260fca0.camel@j-davis.com
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/66ec24276b18d111b916e6189b25e5c0a998a1f2

Modified Files
--------------
src/common/unicode_case.c                  | 88 ++++++++++++++----------------
src/test/regress/expected/collate.utf8.out |  6 ++
src/test/regress/sql/collate.utf8.sql      |  1 +
3 files changed, 47 insertions(+), 48 deletions(-)



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


end of thread, other threads:[~2026-07-07 22:05 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07 21:54 pgsql: pg_unicode_fast: fix final sigma logic. Jeff Davis <jdavis@postgresql.org>
2026-07-07 21:54 pgsql: pg_unicode_fast: fix final sigma logic. Jeff Davis <jdavis@postgresql.org>
2026-07-07 22:05 pgsql: pg_unicode_fast: fix final sigma logic. 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