]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix outdated comment that talked about seek position of WAL file.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 16 Jun 2021 09:34:32 +0000 (12:34 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 16 Jun 2021 09:37:13 +0000 (12:37 +0300)
commitf98635ad6295ad142779756e60325a8e7f825909
treefe0e04f5727808cdb4057a58e4aee5b1a66e2f5a
parentfb3d6b0e1aa41518857ff12534bef49503ce7575
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()
src/backend/access/transam/xlog.c