On Fri, 2025-06-20 at 09:46 +0800, James Pang wrote: > same OS RHEL8, install pgv14.11 and pgv18.beta1_3, both installation > by RPM from pgdg, and use similar postgresql.conf.
<snip>
> 18.beta1 > postgres=# \timing on > Timing is on. > postgres=# select * from tt where b ~~ 'a%'; > a | b > ---+--- > (0 rows) > > Time: 78.532 ms > postgres=# select * from tt where b ~~ 'a%' > postgres-# ; > a | b > ---+--- > (0 rows) > > Time: 83.516 ms > postgres=# select * from tt where b ~~ 'a%'; > a | b > ---+--- > (0 rows)
It's likely because v18 beta RPMs are built with --enable-debug and --enable-cassert . See the note on yum.postgresql.org: