Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbbe9-000141-Ir for pgsql-hackers@arkaria.postgresql.org; Sun, 08 Nov 2020 03:45:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kbbe6-0005Gy-TK for pgsql-hackers@arkaria.postgresql.org; Sun, 08 Nov 2020 03:45:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbbe6-0005Gr-MH for pgsql-hackers@lists.postgresql.org; Sun, 08 Nov 2020 03:45:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbbe0-0002SU-13 for pgsql-hackers@postgresql.org; Sun, 08 Nov 2020 03:45:38 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0A83jQva1776965; Sat, 7 Nov 2020 22:45:26 -0500 From: Tom Lane To: Alvaro Herrera cc: Tomas Vondra , pgsql-hackers Subject: Re: Yet another (minor) fix in BRIN In-reply-to: <20201108015137.GA7294@alvherre.pgsql> References: <20201108015137.GA7294@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Sat, 07 Nov 2020 22:51:37 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1776963.1604807126.1@sss.pgh.pa.us> Date: Sat, 07 Nov 2020 22:45:26 -0500 Message-ID: <1776964.1604807126@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > On 2020-Nov-08, Tomas Vondra wrote: >> While rebasing some of the BRIN patches, I noticed some of the code in >> brin_memtuple_initialize is duplicated. This happened in 8bf74967dab >> which moved some of the code from brin_new_memtuple, not removing the >> shared pieces. In practice this is benign, of course. >> >> Barring objections I'll get the attached fix committed and backpatched. > LGTM, thanks for noticing. The weekend before stable-branch releases is probably not the best time to be pushing "minor" fixes into those branches. I got my fingers burned today, and so did Peter. Don't follow our example ;-) regards, tom lane