Re: Violation of principle that plan trees are read-only

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org, Andres Freund <andres@anarazel.de>
Date: 2025-05-19T14:39:51Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. In ExecInitModifyTable, don't scribble on the source plan.

  2. Rely on executor utils to build targetlist for DML RETURNING.

On Mon, May 19, 2025 at 10:35 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I proposed a possible way to test for this at [1].  I was intending to
> get around to that sooner or later, but the urgency of the matter just
> went up in my eyes...

Ah, right, I actually read that thread but had forgotten about it. I
don't know if that idea will work out but it certainly seems like a
good thing to try.

-- 
Robert Haas
EDB: http://www.enterprisedb.com