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 1vwQQ9-0062Q8-2z for pgsql-bugs@arkaria.postgresql.org; Sat, 28 Feb 2026 19:56:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vwQQ8-00BR0D-1v for pgsql-bugs@arkaria.postgresql.org; Sat, 28 Feb 2026 19:56:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vwQQ8-00BR05-18 for pgsql-bugs@lists.postgresql.org; Sat, 28 Feb 2026 19:56:12 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vwQQ1-00000001lxn-2jfR for pgsql-bugs@lists.postgresql.org; Sat, 28 Feb 2026 19:56:11 +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 61SJu24Q026514; Sat, 28 Feb 2026 14:56:03 -0500 From: Tom Lane To: 303677365@qq.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #19421: PostgreSQL MERGE Crash: heap_compute_data_size() at heaptuple.c:236 In-reply-to: <19421-3d118fd489810af1@postgresql.org> References: <19421-3d118fd489810af1@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Sat, 28 Feb 2026 01:26:07 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26512.1772308562.1@sss.pgh.pa.us> Date: Sat, 28 Feb 2026 14:56:02 -0500 Message-ID: <26513.1772308562@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > PostgreSQL version: 15.5 The current release in that branch is 15.17; 15.5 is more than two years out of date. > -- PostgreSQL MERGE SIGSEGV Minimal Reproduction > -- Crash location: heap_compute_data_size() at heaptuple.c:236 In 15.17, this example seems to do what I'd expect: ERROR: new row for relation "parent_tbl" violates check constraint "pcheck" DETAIL: Failing row contains (1, 100). Quickly trawling the commit log, I'd guess this was fixed in commit d6a3f3272ffee792e27c5dd871d7cf1cbf418962. Please test against current release(s) before submitting bug reports. regards, tom lane