Обсуждение: pgsql: Fix outdated comment that talked about seek position of WAL file

Поиск
Список
Период
Сортировка

pgsql: Fix outdated comment that talked about seek position of WAL file

От
Heikki Linnakangas
Дата:
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
------
master

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

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