pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix outdated comment that talked about seek position of WAL file
Date: Wed, 16 Jun 2021 09:47:49 +0000
Message-ID: <E1ltS9F-0000pd-Lj@gemulon.postgresql.org> (raw)

Fix outdated comment that talked about seek position of WAL file.

Since commit c24dcd0cfd, we have been using pg_pread() to read the WAL
file, which doesn't change the seek position (unless we fall back to
the implementation in src/port/pread.c). Update comment accordingly.

Backpatch-through: 12, where we started to use pg_pread()

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f98635ad6295ad142779756e60325a8e7f825909

Modified Files
--------------
src/backend/access/transam/xlog.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1ltS9F-0000pd-Lj@gemulon.postgresql.org>
Permalink:  ../E1ltS9F-0000pd-Lj@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ltS9F-0000pd-Lj@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: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Fix outdated comment that talked about seek position of WAL file
  In-Reply-To: <E1ltS9F-0000pd-Lj@gemulon.postgresql.org>
  References: <E1ltS9F-0000pd-Lj@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