On 2017/11/07 14:40, Amit Khandekar wrote: > On 7 November 2017 at 00:33, Robert Haas <robertmh...@gmail.com> wrote: > >> Also, +1 for Amit Langote's idea of trying to merge >> mt_perleaf_childparent_maps with mt_persubplan_childparent_maps. > > Currently I am trying to see if it simplifies things if we do that. We > will be merging these arrays into one, but we are adding a new int > array that maps subplans to leaf partitions. Will get back with how it > looks finally.
One thing to note is that the int array I mentioned will be much faster to compute than going to convert_tuples_by_name() to build the additional maps array. Thanks, Amit -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers