diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-06-11 17:35:43 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-06-11 17:35:53 -0400 |
commit | 69025c5a07a10c842bfbcb62d4af1221e5ce7e85 (patch) | |
tree | 876c59e1bc560a06f87e7837fe2015eb77d1000f /contrib/jsonb_plpython/sql | |
parent | 4e23236403336052a000c8bf85720e9d65ba8036 (diff) | |
download | postgresql-69025c5a07a10c842bfbcb62d4af1221e5ce7e85.tar.gz postgresql-69025c5a07a10c842bfbcb62d4af1221e5ce7e85.zip |
Improve ExecFindInitialMatchingSubPlans's subplan renumbering logic.
We don't need two passes if we scan child partitions before parents,
as that way the children's present_parts are up to date before they're
needed. I (tgl) think there's actually a bug being fixed here, for the
case of an intermediate partitioned table with no direct leaf children,
but haven't attempted to construct a test case to prove it.
David Rowley
Discussion: https://postgr.es/m/CAKJS1f-6GODRNgEtdPxCnAPme2h2hTztB6LmtfdmcYAAOE0kQg@mail.gmail.com
Diffstat (limited to 'contrib/jsonb_plpython/sql')
0 files changed, 0 insertions, 0 deletions