Re: Fix RLS checks for UPDATE/DELETE FOR PORTION OF leftover rows

From: Paul A Jungwirth <pj(at)illuminatedcomputing(dot)com>
To: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Cc: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter(at)eisentraut(dot)org>
Subject: Re: Fix RLS checks for UPDATE/DELETE FOR PORTION OF leftover rows
Date: 2026-07-02 21:57:15
Message-ID: CA+renyU=1A7+_zyPdaa6TersUDPrX13ufDW-qdi1wGt_zxXCfA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jul 2, 2026 at 2:52 PM Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com> wrote:
>
> > Here is a v2 with a couple lines of documentation added.
> >
> Thanks for testing and updating the doc. I agree the docs need to be updated.
>
> I’d rephrase this a little bit:
> ```
> RLS policies for inserting temporal leftovers are still checked.
> ```
>
> Only INSERT policies will be checked, so I changed it to:
> ```
> Row-level security INSERT policies are still checked for these leftover inserts.
> ```
>
> PFA v3, only this tiny doc change.

+1

--
Paul ~{:-)
pj(at)illuminatedcomputing(dot)com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Karlsson 2026-07-02 22:12:37 Re: First draft of PG 19 release notes
Previous Message Andreas Karlsson 2026-07-02 21:55:55 Use PG_MODULE_MAGIC_EXT macro in modules added in PG19