diff options
author | Robert Haas <rhaas@postgresql.org> | 2018-03-19 11:54:56 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2018-03-19 11:54:56 -0400 |
commit | 49525c46309828b3024fe8040fa99c7dcc83933d (patch) | |
tree | 3ea53d1e00c5086c094309fa6e93851a88fef894 /src/backend/executor/nodeModifyTable.c | |
parent | 71cce90ee99098f52e65278b96662e32ca005771 (diff) | |
download | postgresql-49525c46309828b3024fe8040fa99c7dcc83933d.tar.gz postgresql-49525c46309828b3024fe8040fa99c7dcc83933d.zip |
Rewrite recurse_union_children to iterate, rather than recurse.
Also, rename it to plan_union_chidren, so the old name wasn't
very descriptive. This results in a small net reduction in code,
seems at least to me to be easier to understand, and saves
space on the process stack.
Patch by me, reviewed and tested by Ashutosh Bapat and Rajkumar
Raghuwanshi.
Discussion: http://postgr.es/m/CA+TgmoaLRAOqHmMZx=ESM3VDEPceg+-XXZsRXQ8GtFJO_zbMSw@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions