Fix comment in xlog.c

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Fix comment in xlog.c
Date: 2017-06-22 06:44:58
Message-ID: 33e9617d-27f1-eee8-3311-e27af98eaf2b@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Attached a patch for $SUBJECT.

- * If RecPtr is not NULL, try to read a record at that position. Otherwise
+ * If RecPtr is valid, try to read a record at that position. Otherwise

Commit 4d6d425ab8d addressed the comment above XLogReadRecord() in
xlogreader.c, but missed the same above ReadRecord() in xlog.c.

Backpatchable to 9.3, I'd think.

Thanks,
Amit

Attachment Content-Type Size
xlog-comment-fix.patch text/plain 592 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2017-06-22 07:19:00 Re: kqueue
Previous Message Michael Paquier 2017-06-22 06:10:53 Re: Autovacuum launcher occurs error when cancelled by SIGINT