pgsql: Fix outdated comment that talked about seek position of WAL file - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix outdated comment that talked about seek position of WAL file
Date
Msg-id E1ltS9F-0000pd-Lj@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: pgsql: Make archiver process an auxiliary process.
Next
From: Tom Lane
Date:
Subject: pgsql: Improve SQLSTATE reporting in some replication-related code.