Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
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: xlog-comment-fix.patch
Description: text/plain (592 bytes)

Responses

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group