On Wed, Apr 22, 2020 at 1:18 PM Alvaro Herrera <alvhe...@2ndquadrant.com> wrote: > Well, I was actually thinking in building ready-made execution trees, > bypassing the planner altogether. But apparently no one thinks that > this is a good idea, and we don't have any code that does that already, > so maybe it's not a great idea.
If it's any consolation, I had the same idea very recently while chatting with Amit Langote. Maybe it's a bad idea, but you're not the only one who had it. :-) -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company