aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2019-11-16 10:04:52 +1300
committerThomas Munro <tmunro@postgresql.org>2019-11-16 10:11:30 +1300
commit76cbfcdf3a0dff3f029ca079701418b861ce86c8 (patch)
treec27cea514c518fc8d603bf0ec87f3e5c99c70d77 /src/backend/utils/adt/ruleutils.c
parent6ae4d271879b62c4325df3ddf75bff3f2b911086 (diff)
downloadpostgresql-76cbfcdf3a0dff3f029ca079701418b861ce86c8.tar.gz
postgresql-76cbfcdf3a0dff3f029ca079701418b861ce86c8.zip
Always call ExecShutdownNode() if appropriate.
Call ExecShutdownNode() after ExecutePlan()'s loop, rather than at each break. We had forgotten to do that in one case. The omission caused intermittent "temporary file leak" warnings from multi-batch parallel hash joins with a LIMIT clause. Back-patch to 11. Though the problem exists in theory in earlier parallel query releases, nothing really depended on it. Author: Kyotaro Horiguchi Reviewed-by: Thomas Munro, Amit Kapila Discussion: https://postgr.es/m/20191111.212418.2222262873417235945.horikyota.ntt%40gmail.com
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions