pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use pg_pwrite() in more places.
Date: Tue, 11 Feb 2020 04:54:58 +0000
Message-ID: <E1j1NZa-0005X3-En@gemulon.postgresql.org> (raw)

Use pg_pwrite() in more places.

This removes some lseek() system calls.

Author: Thomas Munro
Reviewed-by: Andres Freund
Discussion: https://postgr.es/m/CA%2BhUKGJ%2BoHhnvqjn3%3DHro7xu-YDR8FPr0FL6LF35kHRX%3D_bUzg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/701a51fd4e01dbbd02067d8f01905a04bc571131

Modified Files
--------------
contrib/pg_stat_statements/pg_stat_statements.c |  7 ++-----
src/backend/access/heap/rewriteheap.c           |  9 +-------
src/backend/replication/walreceiver.c           | 28 +++----------------------
src/backend/utils/init/miscinit.c               |  3 +--
4 files changed, 7 insertions(+), 40 deletions(-)



Message-ID: <E1j1NZa-0005X3-En@gemulon.postgresql.org>
Permalink:  ../E1j1NZa-0005X3-En@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1j1NZa-0005X3-En@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Use pg_pwrite() in more places.
  In-Reply-To: <E1j1NZa-0005X3-En@gemulon.postgresql.org>
  References: <E1j1NZa-0005X3-En@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox