Re: SQL:2011 Application Time Update & Delete
Paul A Jungwirth <pj@illuminatedcomputing.com>
From: Paul A Jungwirth <pj@illuminatedcomputing.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Chao Li <li.evan.chao@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-02-20T17:16:11Z
Lists: pgsql-hackers
Attachments
- v67-0005-Look-up-additional-temporal-foreign-key-helper-p.patch (text/x-patch) patch v67-0005
- v67-0003-Add-isolation-tests-for-UPDATE-DELETE-FOR-PORTIO.patch (text/x-patch) patch v67-0003
- v67-0001-Add-range_get_constructor2-to-lsyscache.patch (text/x-patch) patch v67-0001
- v67-0004-Add-tg_temporal-to-TriggerData.patch (text/x-patch) patch v67-0004
- v67-0002-Add-UPDATE-DELETE-FOR-PORTION-OF.patch (text/x-patch) patch v67-0002
- v67-0006-Add-CASCADE-SET-NULL-SET-DEFAULT-for-temporal-fo.patch (text/x-patch) patch v67-0006
- v67-0007-Expose-FOR-PORTION-OF-to-plpgsql-triggers.patch (text/x-patch) patch v67-0007
On Fri, Feb 13, 2026 at 12:00 PM Paul A Jungwirth
<pj@illuminatedcomputing.com> wrote:
>
> Here is another round to fix a few rebase conflicts.
I realized we didn't have any tests for v18's new feature to say
`UPDATE ... RETURNING OLD.foo, NEW.foo`. These patches add a small
test for `RETURNING OLD.valid_at, NEW.valid_at` when you say `UPDATE
FOR PORTION OF valid_at`. This seems worth testing since that column
gets set in an automatic way, not via the normal SET syntax. No fixes
were needed.
I also corrected the commit message, which still referred to the
without_overlaps function that we renamed to
{range,multirange}_minus_multi.
As far as I know nothing else here is waiting on me, but please
correct me if I've overlooked something.
Rebased to 18bcdb75d1.
Yours,
--
Paul ~{:-)
pj@illuminatedcomputing.com
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Make ExecForPortionOfLeftovers() obey SRF protocol.
- 207cb2abcba0 19 (unreleased) landed
-
Add isolation tests for UPDATE/DELETE FOR PORTION OF
- b6ccd30d8ff6 19 (unreleased) landed
-
Add UPDATE/DELETE FOR PORTION OF
- 8e72d914c528 19 (unreleased) landed
-
Record range constructor functions in pg_range
- c257ba839718 19 (unreleased) landed
-
Add range_minus_multi and multirange_minus_multi functions
- 5eed8ce50ce9 19 (unreleased) landed
-
doc: Add section for temporal tables
- e4d8a2af07f5 19 (unreleased) landed
-
Add assertion check for WAL receiver state during stream-archive transition
- 65f4976189b6 19 (unreleased) cited