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 1wVHQG-001qSM-2L for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Jun 2026 23:24:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wVHQD-009FyH-1h for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Jun 2026 23:24:21 +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 1wVHQC-009Fy9-2v for pgsql-hackers@lists.postgresql.org; Thu, 04 Jun 2026 23:24:21 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wVHQB-0000000197V-17mk for pgsql-hackers@postgresql.org; Thu, 04 Jun 2026 23:24:20 +0000 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-bed2b9bfa02so180017766b.1 for ; Thu, 04 Jun 2026 16:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780615458; cv=none; d=google.com; s=arc-20240605; b=iXmzVqlWhGbI6oUAREA35PoaayR8/9IiMVOv1QxqjAWmaOxpRyeY73Gkf6/UPhLFmi UZaUblqdJ+S0OymJrqPeIcVpUbNvgR0jjyTTU4XVrEBANp2je2pCrsABeG/1bnT/T0/x Py9DCBjGSyX5NH49WwQKI1dnF+84hEFWeALC2+FeTCSXuG++53ecTAATO7CnMpPFMuy8 zV6DEk0PaB4WZuqhioTkBDMibASO8biQq65Yh/ZhJmhphwKOte4eOwrHZPDMY8NIZdE3 4DCUlKLDR13SJN7ZxP2zx3AwrruvrKQD0M2cZMEnJSL31zYRpwdqUd4B5jmnLcxbDI0h 8aSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:dkim-signature; bh=2X2/Coxt5/fRvKU+0KfN0MAkF/5mkdSSyxMSJKJh24Y=; fh=s4DKH4Xtj+mzZQdLHEv1ZoTEhWXjH9RRgucDmIEkUno=; b=IfelpxyKSuCCfGRya3fDiREz4k2s92oDOjOQ3ptZyI/fzSpw8uGXiFCKY/YQF4g6AV se2ZH6aq8D2SYrbpBKCYeH8yo0k1GqgsRHE7+2BKxfakvAwJXpmAn/yEw7TgcvnbTB3n 8pj1KZbNNQNdZfBaS7Mkh+AIXw8MhvY9aIODxHtW6drDBGOgtmDPr/cfXNGlc/37OjiN jF9YhysEFv+q4Q2HtzvzRlvom+B+EJONJi4tgnS25yzp6+b/D/m2/lRYXejS+Q8+09fF FsU39NIvtJdg+JKEPDmksoRLEFH1VXVI0ngNfdIjnxg+/pW/tp4c2Mo9WHDIV8TAJTsy lliw==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780615458; x=1781220258; darn=postgresql.org; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2X2/Coxt5/fRvKU+0KfN0MAkF/5mkdSSyxMSJKJh24Y=; b=P9U5/XxykY+lqrg2WEmPWgCCdi3nBq/8U8bRPhn35/IAJ7hE9MUQTxJQnyhNXrA3RF ZybWRw0rdA4azvpVmeAyKYE/nMdU+eNkZiJPoMJYGJ40hZ9NXL2UKrp8SuS1L55UXSHo dsHDGcNIuNvkFWvtEQ4G0fHEHlSArj1cRBvpA/hkREjXDrp1OAF9GLBXbXK10K1qZIwv 8E1ZiEG05XsEHpmf9CATTzGimSklUmEUlE4BkFQ0gzzJZHF7y9oyav1PM1VCAwOJwom0 1TiDHGUOWDVS+8ASfWbcAFG3izlyKr2UuxzqZcqndoBcG1joyVkT4VQuE/GROyUMk+ij GqtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780615458; x=1781220258; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2X2/Coxt5/fRvKU+0KfN0MAkF/5mkdSSyxMSJKJh24Y=; b=In9drRIouu1uWSXpsJErYjopwq+tWljq4mLyNozbXD/NNuPATjFCIuhBLop4vL/IWL 37pKjfoRoF1xKggzthpsw5g4XYmxIZb48D+IgVBlAvkYWAsQayh9xOGw+QG2bC+C0Exp NqexX1dyZdHQRZQe++HkmUrEoCCaS3smimQ+X246z3adYG5/yYHmna8pq6U2XO10Vi5K 6ZQPNM4Chjn8FxvNc4XRO6l6bTzHkRRBChfXglS7jeSGi4nUQfc1qayaGzy+UGcGoWKU Bn6XqdHzLCJ0PQLRCCj3KMEoImc8bNgL5dSVgHEqAa+0Q4QODG+aHnHic5myBUp7pOYn NA9g== X-Forwarded-Encrypted: i=1; AFNElJ/We41p5Iz0JJHVbpJAM6RZHt1LnjoLax32B0179k/K2gp3Qr7jWvy74v7xOrQCijEOmag2E6jLtT83tADw@postgresql.org X-Gm-Message-State: AOJu0YyHmfVxlQCUS94Ki7sr5V3jINKV7aZDyVtUME8IoUJCJyXqWpyP TWleWrKSkRZnGqoPimL1veUu07VLtNo83Ht2FZxTijiAlosSWV23qrTKllU8i6YpDJYJW156a4J wZ1B1iPTz4rn+BdZbxJlPUs9zFGf3aKY= X-Gm-Gg: Acq92OFYzmeQjUELI9BAuyo7hf3MXW1eqV6BhJLAir33hr4/iAvzynWapXjicx3fCno FGtixgYbRcETAm7nTobgEnutSxySKZRwppRzD5pYjBoweZH7xkforVrt0RNAtoXdUYBXhE5m9oC K4mfSOLNI+PF07cSXXXM0vKTIEiyUu/xBBDByWJhbBMgDyxlJw542jjj5qsUYrhkE0GGd04GpdS DmkqvX8ca3CnScrxvaVCRBQgzpPjw89EL+cy9mzPZ1sIXIJINyxX6MOSPotpsKsQmYu1dH5ST3o 9YxySUZ4oP9z/kxJm12YVyCeO1k/GesapVFiHW/Iu0iiKbUoOQ== X-Received: by 2002:a17:907:3f22:b0:bea:5cc7:95a4 with SMTP id a640c23a62f3a-bf36cecc520mr38453666b.0.1780615457501; Thu, 04 Jun 2026 16:24:17 -0700 (PDT) MIME-Version: 1.0 References: <20260605.074927.1218738044739683444.ishii@postgresql.org> In-Reply-To: <20260605.074927.1218738044739683444.ishii@postgresql.org> Reply-To: assam258@gmail.com From: Henson Choi Date: Fri, 5 Jun 2026 08:24:05 +0900 X-Gm-Features: AVVi8CdmouHw6wUWmKaCOL1XCLzQmNNuG_rW4rg-CrXq1Hx-uwoKZQhCYH51gnU Message-ID: Subject: Re: Row pattern recognition To: Tatsuo Ishii , andres@anarazel.de Cc: jian.universality@gmail.com, zsolt.parragi@percona.com, sjjang112233@gmail.com, vik@postgresfriends.org, er@xs4all.nl, jacob.champion@enterprisedb.com, david.g.johnston@gmail.com, peter@eisentraut.org, li.evan.chao@gmail.com, pgsql-hackers@postgresql.org Content-Type: multipart/alternative; boundary="000000000000d377ad065375d7c0" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000d377ad065375d7c0 Content-Type: text/plain; charset="UTF-8" > Henson, > Do you have any idea? Let me be honest about this one. I think the root issue is that none of us working on the patch has enough confidence -- enough real control -- over the tuple slot and JIT side of it. I wrote the code, it ran fine for me, and I assumed that meant it was fine; but I have never felt that I fully understand and control that area. So I cannot point to a specific cause with confidence yet, and I would rather say that plainly than guess. One practical note: there have been no tuple slot or JIT changes in the patch since v47, and none are planned. So that part has been stable, and reviewing the tuple slot / JIT code against v47 is perfectly viable -- there is no need to wait for a newer revision to look at that area. What I think would genuinely harden the patch is for someone who knows tuple slots and JIT well to review -- or rewrite -- that part. I would very much welcome that, and I am happy to provide the design direction behind the current code, or any other information a reviewer would need. To be fair, the same caveat applies to the existing planner code the patch builds on. I feel I have a reasonable grip on the rest of the patch, but not on those two areas. I will keep digging on my side (trying to reproduce the JIT crash with JIT forced on against the current versions), and report back with anything concrete I find. Regards, Henson --000000000000d377ad065375d7c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> Henson,
> Do you have any idea?

Let me b= e honest about this one.

I think the root issue is that none of us w= orking on the patch has
enough confidence -- enough real control -- over= the tuple slot and JIT
side of it. I wrote the code, it ran fine for me= , and I assumed that
meant it was fine; but I have never felt that I ful= ly understand and
control that area. So I cannot point to a specific cau= se with confidence
yet, and I would rather say that plainly than guess.<= br>
One practical note: there have been no tuple slot or JIT changes in = the
patch since v47, and none are planned. So that part has been stable,= and
reviewing the tuple slot / JIT code against v47 is perfectly viable= --
there is no need to wait for a newer revision to look at that area.<= br>
What I think would genuinely harden the patch is for someone who kno= ws
tuple slots and JIT well to review -- or rewrite -- that part. I woul= d
very much welcome that, and I am happy to provide the design direction=
behind the current code, or any other information a reviewer would need= .

To be fair, the same caveat applies to the existing planner code t= he
patch builds on. I feel I have a reasonable grip on the rest of thepatch, but not on those two areas.

I will keep digging on my side = (trying to reproduce the JIT crash with
JIT forced on against the curren= t versions), and report back with
anything concrete I find.

Regar= ds,
Henson
--000000000000d377ad065375d7c0--