Getting rid of some more lseek() calls

Thomas Munro <thomas.munro@gmail.com>

From: Thomas Munro <thomas.munro@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-02-06T23:38:27Z
Lists: pgsql-hackers

Attachments

Hello,

Continuing the work done in commits 0dc8ead4 and c24dcd0c, here are a
few more places where we could throw away some code by switching to
pg_pread() and pg_pwrite().

Commits

  1. Use pg_pread() and pg_pwrite() in slru.c.

  2. Use pg_pwrite() in more places.