Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDJCe-00078d-Re for pgsql-hackers@arkaria.postgresql.org; Thu, 26 Sep 2019 02:08:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iDJCd-0005aq-3q for pgsql-hackers@arkaria.postgresql.org; Thu, 26 Sep 2019 02:08:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDJCc-0005aj-MU for pgsql-hackers@lists.postgresql.org; Thu, 26 Sep 2019 02:08:18 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iDJCa-0000Dh-Ec for pgsql-hackers@lists.postgresql.org; Thu, 26 Sep 2019 02:08:17 +0000 Received: by mail-pf1-x42a.google.com with SMTP id q12so764145pff.9 for ; Wed, 25 Sep 2019 19:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:subject:from:user-agent:mime-version :content-transfer-encoding; bh=774kp5NL91dGAtG5FceKhJOF/Q/DLGWWTFkD2QUJSiM=; b=SDSJH/+2apATOWjAUxskf3A7RnJXIbiJ9ax6vuV30UWrmWlYa1lCcskLjsk0ELbUKR rPiXxwaWe2lNIETnKFzsyrfKbqJJr3nSSbqrVHZ2Wyd1ANvqESbfeRIzs2KgYL4RIcPp DrXmchywKqhYk8pH1iVarKXYSBzCC06fnj5yTgZWn7sgPXItRw1AYSUMORnzcI+nAlPm pStDqTCdulqD5/lDP7Xed0icKyeqhqEvxfuFG/RrvJdFiNn0usI0/YxFq2bTdTThf9BU Uct04Tj4BunH1PjKtHTyOddeg1xNJ1aJ3XzR0/Yl5ejghTjrKUhdBBAGhaz8Wh9tyUXq Ud1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:subject:from:user-agent :mime-version:content-transfer-encoding; bh=774kp5NL91dGAtG5FceKhJOF/Q/DLGWWTFkD2QUJSiM=; b=OHMJVJTWCYxmqPsvexxHFnQmHcjh79o1JntyUje8/jWqWzqpfBqZTGpVP0e5bMcEnv YisAJs6gkO0kGoLaKRVjnvKDH/x4veNcwsEV9T3zuYcMJeYQwdOWwWfU5gjOFf4siBjx xuz5RXuL0lSeWe28WQHUSNf8hTw6WWGz64TExhNV3KifdubFMlbw/INrpLjg22lEQC2F Cbd1sAJD1cgchb4TSL6QX3L5fzF4VG9/xxI4B4Zb4qoU2S05XuDyG/FThl8bEZBGuU53 GR/TOhp5EXVtrPP+RwCZ9n4j0K6zwIXH8fWE/etk0HlHzOH3lWYrg3ctv2gf6blqLmfG zZIQ== X-Gm-Message-State: APjAAAUGe35oAzAIJv5152rC+lykPch3Wkje5Mr/c9z8uY7LtRrjxY75 DGT7CcoalZFzyA/YRgbi86oxW9Sn X-Google-Smtp-Source: APXvYqxOWAekNOUIN47RMleutp6gYTem0AfH+Qmd/bUnhSDby7hTNXzThK6CgEp37UOyZMf6cI7kTA== X-Received: by 2002:a62:e916:: with SMTP id j22mr905326pfh.210.1569463695060; Wed, 25 Sep 2019 19:08:15 -0700 (PDT) Received: from localhost (w204177.dynamic.ppp.asahi-net.or.jp. [121.1.204.177]) by smtp.gmail.com with ESMTPSA id k15sm321589pfa.65.2019.09.25.19.08.12 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 25 Sep 2019 19:08:13 -0700 (PDT) Date: Thu, 26 Sep 2019 11:08:09 +0900 (Tokyo Standard Time) Message-Id: <20190926.110809.248342687.horikyota.ntt@gmail.com> To: pgsql-hackers@lists.postgresql.org Subject: A comment fix in xlogreader.c From: Kyotaro Horiguchi User-Agent: Mew version 6.5 on Emacs 22.2 / Mule 5.0 =?iso-2022-jp?B?KBskQjpnGyhCKQ==?= / Meadow-3.01-dev (TSUBO-SUMIRE) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Sep_26_11_08_09_2019_784)--" Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ----Next_Part(Thu_Sep_26_11_08_09_2019_784)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 ----Next_Part(Thu_Sep_26_11_08_09_2019_784)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="remove_comment_about_removed_variables.patch" 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) ----Next_Part(Thu_Sep_26_11_08_09_2019_784)----