Re: Latest patches break one of our unit-test, related to RLS

From: Dominique Devienne <ddevienne(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Latest patches break one of our unit-test, related to RLS
Date: 2025-09-04 15:28:41
Message-ID: CAFCRh--CwoXZMq9WcaG7bAQQcQ6F-NZP2Z=PUgwnjKUtTBaz3A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Sep 4, 2025 at 5:18 PM Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> wrote:
> On Thu, 2025-09-04 at 17:03 +0200, Dominique Devienne wrote:
> > OK with 16.9 and 17.5 (we cannot test on beta2 anymore)
> > KO with 16.10 and 17.6 (and beta3 too, released at the same time)
> >
> > Which for a minor patch is a surprise to us, not in a good way.
> >
> > So... Did anything change around RLS in this patch series?
> > Anything changed around ROLE INHERIT rules?
> >
> > The symptom is that a LOGIN user lacks ROLEs is used to have.
> > So perhaps some GRANTs are now silently doing nothing,
> > for some unknown reasons.
> >
> > What in these patches could be affecting those areas?
>
> Without a reproducer, that is a wild goose chase.

Oh, it's easy to reproduce here...
But distilling it down is no small feat.
But this is a patch. Patches are not supposed to break things.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dominique Devienne 2025-09-04 15:31:03 Re: Latest patches break one of our unit-test, related to RLS
Previous Message Laurenz Albe 2025-09-04 15:18:31 Re: Latest patches break one of our unit-test, related to RLS