mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-06 00:20:01 +01:00
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 |
||
|---|---|---|
| .. | ||
| expected | ||
| sql | ||
| .gitignore | ||
| Makefile | ||
| meson.build | ||
| pg_buffercache_pages.c | ||
| pg_buffercache--1.1--1.2.sql | ||
| pg_buffercache--1.2--1.3.sql | ||
| pg_buffercache--1.2.sql | ||
| pg_buffercache--1.3--1.4.sql | ||
| pg_buffercache--1.4--1.5.sql | ||
| pg_buffercache--1.5--1.6.sql | ||
| pg_buffercache--1.0--1.1.sql | ||
| pg_buffercache.control | ||