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

From Alvaro Herrera
Subject Re: [HACKERS] Fix comment in xlog.c
Date
Msg-id 20170622204457.ncw6elzji5hrwst3@alvherre.pgsql
Whole thread Raw
In response to [HACKERS] Fix comment in xlog.c  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: [HACKERS] Fix comment in xlog.c  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List pgsql-hackers
Amit Langote wrote:
> 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.

Yeah, fixed, thanks.



-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Guarding against bugs-of-omission in initdb's setup_depend
Next
From: Andres Freund
Date:
Subject: [HACKERS] Dynamic instrumentation of lwlock wait times (lwlock flamegraphs)