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: (view raw, whole thread or download thread mbox)
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.


Attachment: xlog-comment-fix.patch
Description: text/plain (592 bytes)


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