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 1w920u-0018BV-1s for pgsql-hackers@arkaria.postgresql.org; Sat, 04 Apr 2026 14:30:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w920q-00Gg3T-1m for pgsql-hackers@arkaria.postgresql.org; Sat, 04 Apr 2026 14:30:12 +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 1w920q-00Gg3L-0O for pgsql-hackers@lists.postgresql.org; Sat, 04 Apr 2026 14:30:12 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w920o-00000000X2a-0wSA for pgsql-hackers@lists.postgresql.org; Sat, 04 Apr 2026 14:30: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 634EU2Px3956200; Sat, 4 Apr 2026 10:30:02 -0400 From: Tom Lane To: Alexander Lakhin cc: Robert Haas , PostgreSQL Hackers Subject: Re: TupleDescAttr bounds checks In-reply-to: <6f435023-8ab6-47c2-ba07-035d0c4212f9@gmail.com> References: <1628959.1774023745@sss.pgh.pa.us> <1631625.1774025167@sss.pgh.pa.us> <3429884.1774238081@sss.pgh.pa.us> <6f435023-8ab6-47c2-ba07-035d0c4212f9@gmail.com> Comments: In-reply-to Alexander Lakhin message dated "Sat, 04 Apr 2026 17:00:00 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3956198.1775313002.1@sss.pgh.pa.us> Date: Sat, 04 Apr 2026 10:30:02 -0400 Message-ID: <3956199.1775313002@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alexander Lakhin writes: > I've found a way to trigger the Assert added in c98ad086a: > CREATE TABLE t(i int); > COPY t FROM stdin WHERE tableoid > 0; > server closed the connection unexpectedly Good catch. I bet it's possible to trigger the Assert just above, too, with a WHERE expression using "t.*". regards, tom lane