Re: Fix comment in xlog.c

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix comment in xlog.c
Date: 2017-06-22 20:44:57
Message-ID: 20170622204457.ncw6elzji5hrwst3@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-06-22 21:08:45 Dynamic instrumentation of lwlock wait times (lwlock flamegraphs)
Previous Message Robert Haas 2017-06-22 20:35:34 Re: Guarding against bugs-of-omission in initdb's setup_depend