From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
---|---|
To: | Stephan Springl <springl-psql(at)bfw-online(dot)de>, pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: Version 17.6 changed how similar works compared to version 17.5 |
Date: | 2025-09-14 10:43:20 |
Message-ID: | c1dac957a70306b92d9816e7d210a5af9ffa8cdd.camel@cybertec.at |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Fri, 2025-09-12 at 15:45 +0200, Stephan Springl wrote:
> version 17.6 changed how similar works compared to version 17.5.
>
> With file f as
> cat >f <<END
> drop table t;
> create table t (p varchar (1));
> insert into t values ('_');
> select * from t;
> select * from t where p similar to '[\_]%';
> END
>
> psql -f f
>
> gives:
>
> DROP TABLE
> CREATE TABLE
> INSERT 0 1
> p
> ---
> _
> (1 row)
>
> p
> ---
> (0 rows)
>
> The expression with similar does not find the row. With version 17.5, the row
> was found, as wanted.
This bug was fixed in commit e09adb5b9f [1], and the fix will be shipped with
the next minor releases.
Yours,
Laurenz Albe
From | Date | Subject | |
---|---|---|---|
Next Message | PG Bug reporting form | 2025-09-15 09:10:18 | BUG #19052: failing to install on Windows if user path contains Chineese/Korean characters |
Previous Message | Laurenz Albe | 2025-09-14 10:29:09 | Re: BUG #19051: Is it possible to move a TOAST table to a different tablespace than its parent table? |