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 1q5wbW-00083k-PS for pgsql-bugs@arkaria.postgresql.org; Sun, 04 Jun 2023 22:53:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q5wbV-00046U-Ad for pgsql-bugs@arkaria.postgresql.org; Sun, 04 Jun 2023 22:53:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q5wbV-00046J-2i for pgsql-bugs@lists.postgresql.org; Sun, 04 Jun 2023 22:53:41 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q5wbO-000ELW-6M for pgsql-bugs@lists.postgresql.org; Sun, 04 Jun 2023 22:53:39 +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 354MrWd84027009; Sun, 4 Jun 2023 18:53:32 -0400 From: Tom Lane To: Nikhil Benesch cc: pgsql-bugs@lists.postgresql.org, Sean Loiselle Subject: Re: Array parsing incorrectly accepts ragged multidimensional arrays In-reply-to: References: Comments: In-reply-to Nikhil Benesch message dated "Sun, 04 Jun 2023 18:39:05 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4027007.1685919212.1@sss.pgh.pa.us> Date: Sun, 04 Jun 2023 18:53:32 -0400 Message-ID: <4027008.1685919212@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Nikhil Benesch writes: > While working on Postgres-compatible array support in Materialize, my > colleague Sean Loiselle (CC'd) discovered what a class of seemingly > invalid array values that are accepted by Postgres's array input > routine: Yeah, see existing thread (and patch) at https://www.postgresql.org/message-id/flat/2794005.1683042087@sss.pgh.pa.us Please review that if you'd like. regards, tom lane