On 2018-04-19 12:04:35 +1200, David Rowley wrote: > On 19 April 2018 at 03:13, Robert Haas <robertmh...@gmail.com> wrote: > > 10% is more than a "slight" improvement, I'd say! It's certainly got > > to be worth avoiding the repeated calls to ExecInitExpr, whatever we > > do about the memory contexts.
Yea, that seems important. Good that that got in. What I wonder, after skimming this change, is where the relevant expression context is reset? That's not really related to this change but the wider thread, I just noticed it while looking at this. Greetings, Andres Freund