Re: BUG #19633: Unexpected results of IN (subquery) with a non-deterministic collation

From: Andrey Rachitskiy <pl0h0yp1(at)gmail(dot)com>
To: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
Cc: Richard Guo <guofenglinux(at)gmail(dot)com>, Tender Wang <tndrwang(at)gmail(dot)com>, syzhong16 <syzhong16(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #19633: Unexpected results of IN (subquery) with a non-deterministic collation
Date: 2026-09-12 14:22:32
Message-ID: CAB8bMiv1onuB3QCPO2Oiebx5_akgcU60b6gCcns9C+sP7jiMoA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

сб, 12 сент. 2026 г., 18:57 Alexander Korotkov <aekorotkov(at)gmail(dot)com>:

> On Fri, Sep 11, 2026 at 8:06 AM Alexander Korotkov <aekorotkov(at)gmail(dot)com>
> wrote:
> > On Fri, Sep 11, 2026 at 4:03 AM Richard Guo <guofenglinux(at)gmail(dot)com>
> wrote:
> > >
> > > On Fri, Sep 11, 2026 at 6:54 AM Alexander Korotkov <
> aekorotkov(at)gmail(dot)com> wrote:
> > > > I also like idea of usage of enable_sort all the version in this
> case.
> > > > This would simplify backpatching and reduce divergence between
> > > > versions.
> > >
> > > I believe one of the goals of commit e01b23b84 is replacing
> > > enable_sort with enable_groupagg in tests going forward where that's
> > > the real intent. Re-introducing enable_sort here seems to go against
> > > that goal.
> > >
> > > > I plan to push this and backpatch through 14, adjusting the expected
> > > > file per branch along the lines you described.
> > >
> > > Also I don't understand why v5 is still creating new tables rather
> > > than using existing tables in the tests.
> >
> > Sorry, I accidentally used the wrong branch to generate the patch.
> > Please, check the attached version: it doesn't create new tables.
> >
> > Also I changed usage of enable_sort to enable_groupagg as you
> > suggested. I will have to change it to enable_sort during
> > backpatching.
>
> Any objections if I push (and backpatch) this?
>
> ------
> Regards,
> Alexander Korotkov
> Supabase
>

Hi, Alexander!

I can't possibly have any :)
LGTM

>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Ayush Tiwari 2026-09-12 15:50:02 Re: BUG #19631: currtid2() on a view with GROUP BY ctid crashes with XX000
Previous Message Alexander Korotkov 2026-09-12 13:57:18 Re: BUG #19633: Unexpected results of IN (subquery) with a non-deterministic collation