Add block_range_read_stream_cb(), to deduplicate code.
Noah Misch <noah@leadboat.com>
Add block_range_read_stream_cb(), to deduplicate code. This replaces two functions for iterating over all blocks in a range. A pending patch will use this instead of adding a third. Nazir Bilal Yavuz Discussion: https://postgr.es/m/20240820184742.f2.nmisch@google.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_prewarm/pg_prewarm.c | modified | +4 −23 |
| src/backend/storage/aio/read_stream.c | modified | +17 −0 |
| src/backend/storage/buffer/bufmgr.c | modified | +4 −31 |
| src/include/storage/read_stream.h | modified | +10 −0 |
| src/tools/pgindent/typedefs.list | modified | +1 −0 |
Discussion
- Use read streams in pg_visibility 21 messages · 2024-08-13 → 2024-09-11