Use streaming I/O in pg_prewarm.
Thomas Munro <tmunro@postgresql.org>
Use streaming I/O in pg_prewarm. Instead of calling ReadBuffer() repeatedly, use the new streaming interface. This commit provides a very simple example of such a transformation. Discussion: https://postgr.es/m/CA+hUKGJkOiOCa+mag4BF+zHo7qo=o9CFheB8=g6uT5TUm2gkvA@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_prewarm/pg_prewarm.c | modified | +39 −1 |
Discussion
- Streaming I/O, vectored I/O (WIP) 67 messages · 2023-08-31 → 2024-08-17