pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. 7+ messages / 1 participants [nested] [flat]
* pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. @ 2025-08-19 19:14 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: Masahiko Sawada @ 2025-08-19 19:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. This commit adds CHECK_FOR_INTERRUPTS to loops iterating over shared buffers in several pg_buffercache functions, allowing them to be interrupted during long-running operations. Backpatch to all supported versions. Add CHECK_FOR_INTERRUPTS to the loop in pg_buffercache_pages() in all supported branches, and to pg_buffercache_summary() and pg_buffercache_usage_counts() in version 16 and newer. Author: SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com> Discussion: https://postgr.es/m/CAHg+QDcejeLx7WunFT3DX6XKh1KshvGKa8F5au8xVhqVvvQPRw@mail.gmail.com Backpatch-through: 13 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7d8d36289f6a688c52004be16d657316c82ffb14 Modified Files -------------- contrib/pg_buffercache/pg_buffercache_pages.c | 3 +++ 1 file changed, 3 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. @ 2025-08-19 19:14 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: Masahiko Sawada @ 2025-08-19 19:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. This commit adds CHECK_FOR_INTERRUPTS to loops iterating over shared buffers in several pg_buffercache functions, allowing them to be interrupted during long-running operations. Backpatch to all supported versions. Add CHECK_FOR_INTERRUPTS to the loop in pg_buffercache_pages() in all supported branches, and to pg_buffercache_summary() and pg_buffercache_usage_counts() in version 16 and newer. Author: SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com> Discussion: https://postgr.es/m/CAHg+QDcejeLx7WunFT3DX6XKh1KshvGKa8F5au8xVhqVvvQPRw@mail.gmail.com Backpatch-through: 13 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/79643105a29dbe7e11ccf328c6ac62ce3f5cb076 Modified Files -------------- contrib/pg_buffercache/pg_buffercache_pages.c | 3 +++ 1 file changed, 3 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. @ 2025-08-19 19:15 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: Masahiko Sawada @ 2025-08-19 19:15 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. This commit adds CHECK_FOR_INTERRUPTS to loops iterating over shared buffers in several pg_buffercache functions, allowing them to be interrupted during long-running operations. Backpatch to all supported versions. Add CHECK_FOR_INTERRUPTS to the loop in pg_buffercache_pages() in all supported branches, and to pg_buffercache_summary() and pg_buffercache_usage_counts() in version 16 and newer. Author: SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com> Discussion: https://postgr.es/m/CAHg+QDcejeLx7WunFT3DX6XKh1KshvGKa8F5au8xVhqVvvQPRw@mail.gmail.com Backpatch-through: 13 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/eb9ee4d1818cd228d80049fd42efbfaabc187c20 Modified Files -------------- contrib/pg_buffercache/pg_buffercache_pages.c | 3 +++ 1 file changed, 3 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. @ 2025-08-19 19:15 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: Masahiko Sawada @ 2025-08-19 19:15 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. This commit adds CHECK_FOR_INTERRUPTS to loops iterating over shared buffers in several pg_buffercache functions, allowing them to be interrupted during long-running operations. Backpatch to all supported versions. Add CHECK_FOR_INTERRUPTS to the loop in pg_buffercache_pages() in all supported branches, and to pg_buffercache_summary() and pg_buffercache_usage_counts() in version 16 and newer. Author: SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com> Discussion: https://postgr.es/m/CAHg+QDcejeLx7WunFT3DX6XKh1KshvGKa8F5au8xVhqVvvQPRw@mail.gmail.com Backpatch-through: 13 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/815fcfb206f04a4c59975817de79b2074fa912d5 Modified Files -------------- contrib/pg_buffercache/pg_buffercache_pages.c | 6 ++++++ 1 file changed, 6 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. @ 2025-08-19 19:15 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: Masahiko Sawada @ 2025-08-19 19:15 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. This commit adds CHECK_FOR_INTERRUPTS to loops iterating over shared buffers in several pg_buffercache functions, allowing them to be interrupted during long-running operations. Backpatch to all supported versions. Add CHECK_FOR_INTERRUPTS to the loop in pg_buffercache_pages() in all supported branches, and to pg_buffercache_summary() and pg_buffercache_usage_counts() in version 16 and newer. Author: SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com> Discussion: https://postgr.es/m/CAHg+QDcejeLx7WunFT3DX6XKh1KshvGKa8F5au8xVhqVvvQPRw@mail.gmail.com Backpatch-through: 13 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b6090ed96b60374560251c6f3ec65309c9ce4b96 Modified Files -------------- contrib/pg_buffercache/pg_buffercache_pages.c | 6 ++++++ 1 file changed, 6 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. @ 2025-08-19 19:15 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: Masahiko Sawada @ 2025-08-19 19:15 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. This commit adds CHECK_FOR_INTERRUPTS to loops iterating over shared buffers in several pg_buffercache functions, allowing them to be interrupted during long-running operations. Backpatch to all supported versions. Add CHECK_FOR_INTERRUPTS to the loop in pg_buffercache_pages() in all supported branches, and to pg_buffercache_summary() and pg_buffercache_usage_counts() in version 16 and newer. Author: SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com> Discussion: https://postgr.es/m/CAHg+QDcejeLx7WunFT3DX6XKh1KshvGKa8F5au8xVhqVvvQPRw@mail.gmail.com Backpatch-through: 13 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0beb7e9338ad58c46189f19258e9969bb333d48b Modified Files -------------- contrib/pg_buffercache/pg_buffercache_pages.c | 6 ++++++ 1 file changed, 6 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. @ 2025-08-19 19:15 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 7+ messages in thread From: Masahiko Sawada @ 2025-08-19 19:15 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. This commit adds CHECK_FOR_INTERRUPTS to loops iterating over shared buffers in several pg_buffercache functions, allowing them to be interrupted during long-running operations. Backpatch to all supported versions. Add CHECK_FOR_INTERRUPTS to the loop in pg_buffercache_pages() in all supported branches, and to pg_buffercache_summary() and pg_buffercache_usage_counts() in version 16 and newer. Author: SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com> Discussion: https://postgr.es/m/CAHg+QDcejeLx7WunFT3DX6XKh1KshvGKa8F5au8xVhqVvvQPRw@mail.gmail.com Backpatch-through: 13 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/eab9e4e27c0c433dbfe09914e69c875dda2af63f Modified Files -------------- contrib/pg_buffercache/pg_buffercache_pages.c | 6 ++++++ 1 file changed, 6 insertions(+) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2025-08-19 19:15 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-08-19 19:14 pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. Masahiko Sawada <msawada@postgresql.org> 2025-08-19 19:14 pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. Masahiko Sawada <msawada@postgresql.org> 2025-08-19 19:15 pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. Masahiko Sawada <msawada@postgresql.org> 2025-08-19 19:15 pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. Masahiko Sawada <msawada@postgresql.org> 2025-08-19 19:15 pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. Masahiko Sawada <msawada@postgresql.org> 2025-08-19 19:15 pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. Masahiko Sawada <msawada@postgresql.org> 2025-08-19 19:15 pgsql: Add CHECK_FOR_INTERRUPTS in contrib/pg_buffercache functions. Masahiko Sawada <msawada@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