pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add CHECK_FOR_INTERRUPTS() to the repeat() function 6+ messages / 1 participants [nested] [flat]
* pgsql: Add CHECK_FOR_INTERRUPTS() to the repeat() function @ 2020-05-28 17:20 Joe Conway <mail@joeconway.com> 0 siblings, 0 replies; 6+ messages in thread From: Joe Conway @ 2020-05-28 17:20 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add CHECK_FOR_INTERRUPTS() to the repeat() function The repeat() function loops for potentially a long time without ever checking for interrupts. This prevents, for example, a query cancel from interrupting until the work is all done. Fix by inserting a CHECK_FOR_INTERRUPTS() into the loop. Backpatch to all supported versions. Discussion: https://www.postgresql.org/message-id/flat/8692553c-7fe8-17d9-cbc1-7cddb758f4c6%40joeconway.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/887cdff4dcbdfbfdbf9a29dfad0edc09c6ec3398 Modified Files -------------- src/backend/utils/adt/oracle_compat.c | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Add CHECK_FOR_INTERRUPTS() to the repeat() function @ 2020-05-28 17:20 Joe Conway <mail@joeconway.com> 0 siblings, 0 replies; 6+ messages in thread From: Joe Conway @ 2020-05-28 17:20 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add CHECK_FOR_INTERRUPTS() to the repeat() function The repeat() function loops for potentially a long time without ever checking for interrupts. This prevents, for example, a query cancel from interrupting until the work is all done. Fix by inserting a CHECK_FOR_INTERRUPTS() into the loop. Backpatch to all supported versions. Discussion: https://www.postgresql.org/message-id/flat/8692553c-7fe8-17d9-cbc1-7cddb758f4c6%40joeconway.com Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/3ccae5445cc82ce93c660a2b21a244a51dbe30a6 Modified Files -------------- src/backend/utils/adt/oracle_compat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Add CHECK_FOR_INTERRUPTS() to the repeat() function @ 2020-05-28 17:20 Joe Conway <mail@joeconway.com> 0 siblings, 0 replies; 6+ messages in thread From: Joe Conway @ 2020-05-28 17:20 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add CHECK_FOR_INTERRUPTS() to the repeat() function The repeat() function loops for potentially a long time without ever checking for interrupts. This prevents, for example, a query cancel from interrupting until the work is all done. Fix by inserting a CHECK_FOR_INTERRUPTS() into the loop. Backpatch to all supported versions. Discussion: https://www.postgresql.org/message-id/flat/8692553c-7fe8-17d9-cbc1-7cddb758f4c6%40joeconway.com Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/36758c472ea71dae96f4b495df65490413c79c83 Modified Files -------------- src/backend/utils/adt/oracle_compat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Add CHECK_FOR_INTERRUPTS() to the repeat() function @ 2020-05-28 17:20 Joe Conway <mail@joeconway.com> 0 siblings, 0 replies; 6+ messages in thread From: Joe Conway @ 2020-05-28 17:20 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add CHECK_FOR_INTERRUPTS() to the repeat() function The repeat() function loops for potentially a long time without ever checking for interrupts. This prevents, for example, a query cancel from interrupting until the work is all done. Fix by inserting a CHECK_FOR_INTERRUPTS() into the loop. Backpatch to all supported versions. Discussion: https://www.postgresql.org/message-id/flat/8692553c-7fe8-17d9-cbc1-7cddb758f4c6%40joeconway.com Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2cbe3a9542196b1b87ba91369f1ace91228b9760 Modified Files -------------- src/backend/utils/adt/oracle_compat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Add CHECK_FOR_INTERRUPTS() to the repeat() function @ 2020-05-28 17:20 Joe Conway <mail@joeconway.com> 0 siblings, 0 replies; 6+ messages in thread From: Joe Conway @ 2020-05-28 17:20 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add CHECK_FOR_INTERRUPTS() to the repeat() function The repeat() function loops for potentially a long time without ever checking for interrupts. This prevents, for example, a query cancel from interrupting until the work is all done. Fix by inserting a CHECK_FOR_INTERRUPTS() into the loop. Backpatch to all supported versions. Discussion: https://www.postgresql.org/message-id/flat/8692553c-7fe8-17d9-cbc1-7cddb758f4c6%40joeconway.com Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/28e2c6eacc69e2a186d6fe5d2b9c55c5f978d368 Modified Files -------------- src/backend/utils/adt/oracle_compat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Add CHECK_FOR_INTERRUPTS() to the repeat() function @ 2020-05-28 17:20 Joe Conway <mail@joeconway.com> 0 siblings, 0 replies; 6+ messages in thread From: Joe Conway @ 2020-05-28 17:20 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add CHECK_FOR_INTERRUPTS() to the repeat() function The repeat() function loops for potentially a long time without ever checking for interrupts. This prevents, for example, a query cancel from interrupting until the work is all done. Fix by inserting a CHECK_FOR_INTERRUPTS() into the loop. Backpatch to all supported versions. Discussion: https://www.postgresql.org/message-id/flat/8692553c-7fe8-17d9-cbc1-7cddb758f4c6%40joeconway.com Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/bfb9595a786e62359d0a2c1613f4acdd3e1b88e6 Modified Files -------------- src/backend/utils/adt/oracle_compat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2020-05-28 17:20 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-05-28 17:20 pgsql: Add CHECK_FOR_INTERRUPTS() to the repeat() function Joe Conway <mail@joeconway.com> 2020-05-28 17:20 pgsql: Add CHECK_FOR_INTERRUPTS() to the repeat() function Joe Conway <mail@joeconway.com> 2020-05-28 17:20 pgsql: Add CHECK_FOR_INTERRUPTS() to the repeat() function Joe Conway <mail@joeconway.com> 2020-05-28 17:20 pgsql: Add CHECK_FOR_INTERRUPTS() to the repeat() function Joe Conway <mail@joeconway.com> 2020-05-28 17:20 pgsql: Add CHECK_FOR_INTERRUPTS() to the repeat() function Joe Conway <mail@joeconway.com> 2020-05-28 17:20 pgsql: Add CHECK_FOR_INTERRUPTS() to the repeat() function Joe Conway <mail@joeconway.com>
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