Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vi90c-00GJTz-0v for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Jan 2026 10:30:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vi90b-000O9v-11 for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Jan 2026 10:30:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vi90a-000O9n-2t for pgsql-hackers@lists.postgresql.org; Tue, 20 Jan 2026 10:30:49 +0000 Received: from forwardcorp1b.mail.yandex.net ([178.154.239.136]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vi90W-001P8a-2l for pgsql-hackers@postgresql.org; Tue, 20 Jan 2026 10:30:48 +0000 Received: from mail-nwsmtp-smtp-corp-main-80.iva.yp-c.yandex.net (mail-nwsmtp-smtp-corp-main-80.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:5c05:0:640:ff67:0]) by forwardcorp1b.mail.yandex.net (Yandex) with ESMTPS id A9D368076F; Tue, 20 Jan 2026 13:30:41 +0300 (MSK) Received: from smtpclient.apple (unknown [2a02:6bf:8080:67f::1:f]) by mail-nwsmtp-smtp-corp-main-80.iva.yp-c.yandex.net (smtpcorp/Yandex) with ESMTPSA id eUXjtp1BQqM0-MQ0FoVa6; Tue, 20 Jan 2026 13:30:41 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex-team.ru; s=default; t=1768905041; bh=9RKkDL3csF752MHC/tAih722wBfhz6uJK/nZ1O8MZ1A=; h=Message-Id:To:Date:References:Cc:In-Reply-To:From:Subject; b=nz1omSy8Yp74KeCXYbkQe/BD5AprLF8FQMvPO3rwWzYIeRD5ZDc1xqAsGRQWPJh3m kzC0YdUblli4bdQDB1JdRFXnHzIMUM1myK4dhHXqqP4VHcLLliqAQkFtYaIH4HRA99 IO2ik0tkmja+0WhLK/45cwA788QPTCay/N1iLdME= Authentication-Results: mail-nwsmtp-smtp-corp-main-80.iva.yp-c.yandex.net; dkim=pass header.i=@yandex-team.ru Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.4\)) Subject: Re: Fix gistkillitems & add regression test to microvacuum From: Andrey Borodin In-Reply-To: Date: Tue, 20 Jan 2026 15:30:30 +0500 Cc: pgsql-hackers Content-Transfer-Encoding: quoted-printable Message-Id: <449DFC8A-CF54-493E-9366-AF9C73C782AA@yandex-team.ru> References: To: Kirill Reshke X-Mailer: Apple Mail (2.3826.700.81.1.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 15 Jan 2026, at 22:59, Kirill Reshke = wrote: >=20 > PFA v2 which leaves the test in-place. >=20 > Also commit message improvements. Yeah, killtuples for GiST root page is broken. Your patch is fixing it. I don't think we should backpatch this, the bug is harmless, but for = master the patch LGTM. It would be good to assign so->curBlkno and so->curBlkno together. But = gistScanPage() is the only place with access to the block number. +# Test gist, but with fewer rows - that killitems used to be buggy. Probably, in this comment we can explicitly say that killitems was = buggy, but now is fixed. Thanks! Best regards, Andrey Borodin.=