On Sat, Mar 30, 2019 at 12:16 PM Amit Langote <amitlangot...@gmail.com> wrote: > Fwiw, I had complained when reviewing the run-time pruning patch that > creating those maps in the planner and putting them in > PartitionPruneInfo might not be a good idea, but David insisted that > it'd be good for performance (in the context of using cached plans) to > compute this information during planning.
Well, he's not wrong about that, I expect. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company