diff options
author | Masahiko Sawada <msawada@postgresql.org> | 2025-08-19 12:11:32 -0700 |
---|---|---|
committer | Masahiko Sawada <msawada@postgresql.org> | 2025-08-19 12:11:32 -0700 |
commit | eb9ee4d1818cd228d80049fd42efbfaabc187c20 (patch) | |
tree | 45414729a242ec0031d58e5138fee52523d7adc6 /src/backend/backup/basebackup_server.c | |
parent | e41137155869da54118cfe80a1300a73bde58d61 (diff) |
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
Diffstat (limited to 'src/backend/backup/basebackup_server.c')
0 files changed, 0 insertions, 0 deletions