diff options
author | Thomas Munro <tmunro@postgresql.org> | 2020-08-01 23:39:36 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2020-08-02 00:23:35 +1200 |
commit | e2b37d9e7cabc90633c4bd822e1bcfdd1bda44c4 (patch) | |
tree | f6cb217ead9b6e235c312ef2d4e2b53ec1716b9e /src/backend/access/gist/gist.c | |
parent | 022350b8495a8a7ff0ff8dd6791572e91e7cd6fe (diff) | |
download | postgresql-e2b37d9e7cabc90633c4bd822e1bcfdd1bda44c4.tar.gz postgresql-e2b37d9e7cabc90633c4bd822e1bcfdd1bda44c4.zip |
Use pg_pread() and pg_pwrite() in slru.c.
This avoids lseek() system calls at every SLRU I/O, as was
done for relation files in commit c24dcd0c.
Reviewed-by: Ashwin Agrawal <aagrawal@pivotal.io>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA%2BhUKG%2Biqke4uTRFj8D8uEUUgj%2BRokPSp%2BCWM6YYzaaamG9Wvg%40mail.gmail.com
Discussion: https://postgr.es/m/CA%2BhUKGJ%2BoHhnvqjn3%3DHro7xu-YDR8FPr0FL6LF35kHRX%3D_bUzg%40mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions