| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, Paul A Jungwirth <pj(at)illuminatedcomputing(dot)com> |
| Cc: | Melanie Plageman <melanieplageman(at)gmail(dot)com>, Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: DELETE FOR PORTION OF bypasses view WITH CHECK OPTION for leftover rows |
| Date: | 2026-08-14 12:01:45 |
| Message-ID: | 430cff4c-8e11-4b54-b7ed-1eb7cd8a9f0b@eisentraut.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On 13.08.26 11:23, Dean Rasheed wrote:
> On Thu, 13 Aug 2026, 00:19 Paul A Jungwirth,
> <pj(at)illuminatedcomputing(dot)com <mailto:pj(at)illuminatedcomputing(dot)com>> wrote:
>
> On Wed, Aug 12, 2026 at 2:30 PM Melanie Plageman
> <melanieplageman(at)gmail(dot)com <mailto:melanieplageman(at)gmail(dot)com>> wrote:
> >
> > On Wed, Jul 22, 2026 at 2:43 PM Zsolt Parragi
> <zsolt(dot)parragi(at)percona(dot)com <mailto:zsolt(dot)parragi(at)percona(dot)com>> wrote:
> > >
> > > While testing FOR PORTION OF I noticed that DELETE FOR PORTION
> OF on a
> > > view ignores the view's WITH CHECK OPTION for the temporal leftover
> > > rows it inserts.
> >
> > [RMT hat]
> >
> > It's been a few weeks since this was reported, and there hasn't been
> > engagement by the feature authors. Is this on your radar?
> > I added an open item [1].
>
> Thanks Melanie! I'm sorry I missed this before.
>
> I can reproduce the bug. The fix looks good to me.
>
> Here are some slight revisions: I added doc updates and a couple extra
> regress lines (verifying the same cases, but for UPDATE too). And I
> expanded the comment to explain why this is needed for DELETE but not
> UPDATE, since that wasn't obvious to me right away.
>
>
> Seems reasonable to me, after a quick read through.
Committed, thanks.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fujii Masao | 2026-08-14 12:33:08 | Re: BUG #19616: pgoutput sends stream abort ('A') to clients that did not enable streaming |
| Previous Message | Andrey Borodin | 2026-08-14 11:58:23 | Re: BUG #19613: pg_restore: several SEGVs in ReadToc() in pg_backup_archiver.c |