Re: DELETE/UPDATE FOR PORTION OF with rule system is not working
jian he <jian.universality@gmail.com>
From: jian he <jian.universality@gmail.com>
To: Paul A Jungwirth <pj@illuminatedcomputing.com>
Cc: Kirill Reshke <reshkekirill@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>,
Peter Eisentraut <peter@eisentraut.org>
Date: 2026-04-17T03:20:08Z
Lists: pgsql-hackers
Attachments
- v2-0001-fix-DELETE-UPDATE-FOR-PORTION-OF-with-rules.patch (text/x-patch) patch v2-0001
On Thu, Apr 16, 2026 at 6:40 AM Paul A Jungwirth <pj@illuminatedcomputing.com> wrote: > > I only have two small suggestions: > > Please use '[1, 11)' syntax to match the other tests. > > Breaking these long lines would be nice. For example: > > +CREATE RULE fpo_rule1 AS ON INSERT TO fpo_rule > + DO INSTEAD UPDATE fpo_rule FOR PORTION OF f2 FROM 1 TO 4 SET f1 = 2; > Please check the attached v2. V1 only has DO INSTEAD rules, adding one DO ALSO rule would make the test coverage more robust. -- jian https://www.enterprisedb.com/
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix DELETE/UPDATE FOR PORTION OF with rules
- 33db6c4baf17 19 (unreleased) landed
-
Add UPDATE/DELETE FOR PORTION OF
- 8e72d914c528 19 (unreleased) cited