pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Always call ExecShutdownNode() if appropriate. 3+ messages / 1 participants [nested] [flat]
* pgsql: Always call ExecShutdownNode() if appropriate. @ 2019-11-15 21:30 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Thomas Munro @ 2019-11-15 21:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/76cbfcdf3a0dff3f029ca079701418b861ce86c8 Modified Files -------------- src/backend/executor/execMain.c | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Always call ExecShutdownNode() if appropriate. @ 2019-11-15 21:30 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Thomas Munro @ 2019-11-15 21:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/24897e1a1af27dc759fb41afba2a663ff9af4ef6 Modified Files -------------- src/backend/executor/execMain.c | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Always call ExecShutdownNode() if appropriate. @ 2019-11-15 21:31 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Thomas Munro @ 2019-11-15 21:31 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/bc049d0d460aead528ace909a3477bc701ab2e9a Modified Files -------------- src/backend/executor/execMain.c | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2019-11-15 21:31 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-11-15 21:30 pgsql: Always call ExecShutdownNode() if appropriate. Thomas Munro <tmunro@postgresql.org> 2019-11-15 21:30 pgsql: Always call ExecShutdownNode() if appropriate. Thomas Munro <tmunro@postgresql.org> 2019-11-15 21:31 pgsql: Always call ExecShutdownNode() if appropriate. Thomas Munro <tmunro@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox