pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Subject: A comment fix in xlogreader.c
Date: Thu, 26 Sep 2019 11:08:09 +0900 (Tokyo Standard Time)
Message-ID: <20190926.110809.248342687.horikyota.ntt@gmail.com> (raw)

While rechecking another patch, I found that 709d003fbd forgot to
edit a comment mentioning three members removed from
XLogReaderState.

See the attached.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center

Attachments:

remove_comment_about_removed_variables.patch (text/x-patch, 761B) download diff --git a/src/backend/access/transam/xlogreader.c b/src/backend/access/transam/xlogreader.c index 27c27303d6..c8b0d2303d 100644 --- a/src/backend/access/transam/xlogreader.c +++ b/src/backend/access/transam/xlogreader.c @@ -103,8 +103,7 @@ XLogReaderAllocate(int wal_segment_size, const char *waldir, state->read_page = pagereadfunc; /* system_identifier initialized to zeroes above */ state->private_data = private_data; - /* ReadRecPtr and EndRecPtr initialized to zeroes above */ - /* readSegNo, readOff, readLen, readPageTLI initialized to zeroes above */ + /* ReadRecPtr, EndRecPtr and readLen initialized to zeroes above */ state->errormsg_buf = palloc_extended(MAX_ERRORMSG_LEN + 1, MCXT_ALLOC_NO_OOM); if (!state->errormsg_buf)

view thread (3+ messages)  latest in thread

Message-ID: <20190926.110809.248342687.horikyota.ntt@gmail.com>
Permalink:  ../20190926.110809.248342687.horikyota.ntt@gmail.com/
Also on:    postgresql.org/message-id/20190926.110809.248342687.horikyota.ntt@gmail.com

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: horikyota.ntt@gmail.com
  Subject: Re: A comment fix in xlogreader.c
  In-Reply-To: <20190926.110809.248342687.horikyota.ntt@gmail.com>
  References: <20190926.110809.248342687.horikyota.ntt@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox