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=g6ut5tum2g...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/3a352df05e65de740b4a375a0ecbcae97a1f6196 Modified Files -------------- contrib/pg_prewarm/pg_prewarm.c | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-)