Re: some utf8 breaking substring(txt,1,3) but not substring(txt from '^.{4}')

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Hannu Krosing <hannuk(at)google(dot)com>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: some utf8 breaking substring(txt,1,3) but not substring(txt from '^.{4}')
Date: 2026-05-29 15:54:32
Message-ID: CAHGQGwGi8ApJ43znXx8Z702MVxX95qHkjqDMxcFc7Pt2ZFq7Tw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, May 30, 2026 at 12:35 AM Hannu Krosing <hannuk(at)google(dot)com> wrote:
>
> But looks like I can not reproduce it on any other computer (I though
> I had verified it on vanill Ubuntu 22.04 as well), so no need to do
> any more investigation until I can reproduce it elsewhere

This is just a *guess*, but is it possible that you were using a bit older
PostgreSQL version and hit the same issue reported at [1]? If so,
this issue was already fixed by commit 9f4fd119b2c.

Regards,

[1] https://postgr.es/m/19406-9867fddddd724fca@postgresql.org

--
Fujii Masao

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Radim Marek 2026-05-29 15:55:01 Re: Eager aggregation, take 3
Previous Message Peter Eisentraut 2026-05-29 15:47:06 Re: Heads Up: cirrus-ci is shutting down June 1st