[HACKERS] Fix comment in xlog.c - Mailing list pgsql-hackers

From Amit Langote
Subject [HACKERS] Fix comment in xlog.c
Date
Msg-id 33e9617d-27f1-eee8-3311-e27af98eaf2b@lab.ntt.co.jp
Whole thread Raw
Responses Re: [HACKERS] Fix comment in xlog.c
List 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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Autovacuum launcher occurs error when cancelled by SIGINT
Next
From: Thomas Munro
Date:
Subject: Re: [HACKERS] kqueue