Caching for stable expressions with constant arguments v6 - Mailing list pgsql-hackers

From Marti Raudsepp
Subject Caching for stable expressions with constant arguments v6
Date
Msg-id CABRT9RA-RomVS-yzQ2wUtZ=m-eV61LcbrL1P1J3jydPStTfc6Q@mail.gmail.com
Whole thread Raw
Responses Re: Caching for stable expressions with constant arguments v6  (Jaime Casanova <jaime@2ndquadrant.com>)
Re: Caching for stable expressions with constant arguments v6  (Robert Haas <robertmhaas@gmail.com>)
Re: Caching for stable expressions with constant arguments v6  (Marti Raudsepp <marti@juffo.org>)
Re: Caching for stable expressions with constant arguments v6  (Jaime Casanova <jaime@2ndquadrant.com>)
Re: Caching for stable expressions with constant arguments v6  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Hi list,

Here's v6 of my expression caching patch. The only change in v6 is
added expression cost estimation in costsize.c. I'm setting per-tuple
cost of CacheExpr to 0 and moving sub-expression tuple costs into the
startup cost.

As always, this work is also available from my Github "cache" branch:
https://github.com/intgr/postgres/commits/cache

This patch was marked as "Returned with Feedback" from the 2011-11
commitfest. I expected to get to tweak the patch in response to
feedback before posting to the next commitfest. But said feedback
didn't arrive, and with me being on vacation, I missed the 2012-01 CF
deadline. :(

I will add it to the 2012-01 commitfest now, I hope that's OK. If not,
feel free to remove it and I'll put it in 2012-Next.

PS: Jaime, have you had a chance to look at the patch? Even if you're
not done with the review, I'd be glad to get some comments earlier.
And thanks for reviewing.

Regards,
Marti


pgsql-hackers by date:

Previous
From: Julien Tachoires
Date:
Subject: Re: patch : Allow toast tables to be moved to a different tablespace
Next
From: Jaime Casanova
Date:
Subject: Re: Caching for stable expressions with constant arguments v6