Re: execExprInterp() questions / How to improve scalar array op expr eval? - Mailing list pgsql-hackers

From James Coleman
Subject Re: execExprInterp() questions / How to improve scalar array op expr eval?
Date
Msg-id CAAaqYe-EkDewXXZ-Cdu_-r5D49x6Yf5_rA5tsO_Z5ezxmTgOeA@mail.gmail.com
Whole thread Raw
In response to Re: execExprInterp() questions / How to improve scalar array op expr eval?  (James Coleman <jtc331@gmail.com>)
Responses Re: execExprInterp() questions / How to improve scalar array op expr eval?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sat, Apr 11, 2020 at 3:57 PM James Coleman <jtc331@gmail.com> wrote:
> ..
> > It seems like this might be somewhat related to the currently-moribund
> > patch to allow caching of the values of stable subexpressions from
> > one execution to the next.  If we had that infrastructure you could
> > imagine extending it to allow caching the expanded not flat form of
> > some datums.  Again I'm not entirely sure what would drive the choice.
>
> I'll have to look into that patch to see if it sparks any ideas (or if
> it's worth working on for its own merits).

Is this the patch [1] you're thinking of?

James

[1]: https://www.postgresql.org/message-id/flat/da87bb6a014e029176a04f6e50033cfb%40postgrespro.ru



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: where should I stick that backup?
Next
From: Tom Lane
Date:
Subject: Re: execExprInterp() questions / How to improve scalar array op expr eval?