Re: When Update balloons memory - Mailing list pgsql-bugs

From Tom Lane
Subject Re: When Update balloons memory
Date
Msg-id 2761801.1641930868@sss.pgh.pa.us
Whole thread Raw
In response to Re: When Update balloons memory  (Peter Geoghegan <pg@bowt.ie>)
Responses Re: When Update balloons memory
List pgsql-bugs
Peter Geoghegan <pg@bowt.ie> writes:
> I haven't made the code use pull_varnos(), which you suggested back in
> December. It looks like it would be tricky to do that from the
> executor, since pull_varnos() has a PlannerInfo* argument. That has
> been the case since your commit 55dc86eca7 from January 2021, "Fix
> pull_varnos' miscomputation of relids set for a PlaceHolderVar".
> Please advise.

Pass NULL for that, per 6867f963e:

https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=6867f963e#patch2

We'd have to back-patch that bit, but I don't see any problem
with doing so.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: When Update balloons memory
Next
From: Peter Geoghegan
Date:
Subject: Re: When Update balloons memory