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 1puarL-0002b9-20 for pgsql-bugs@arkaria.postgresql.org; Thu, 04 May 2023 15:27:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1puarJ-0003Am-MH for pgsql-bugs@arkaria.postgresql.org; Thu, 04 May 2023 15:27:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1puarJ-0003Ad-Ec for pgsql-bugs@lists.postgresql.org; Thu, 04 May 2023 15:27:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1puarE-000Yad-ET for pgsql-bugs@lists.postgresql.org; Thu, 04 May 2023 15:27:04 +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 344FQwNG3410203; Thu, 4 May 2023 11:26:58 -0400 From: Tom Lane To: Alexander Lakhin cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17912: Invalid memory access when converting plpython' array containing empty array In-reply-to: <9cd163da-d096-7e9e-28f6-f3620962a660@gmail.com> References: <17912-82ceed78731d9cdc@postgresql.org> <1392974.1682694846@sss.pgh.pa.us> <1440309.1682705916@sss.pgh.pa.us> <1483429.1682709429@sss.pgh.pa.us> <5ebae5e4-d401-fadf-8585-ac3eaf53219c@gmail.com> <1805878.1682788590@sss.pgh.pa.us> <2073074.1682871878@sss.pgh.pa.us> <9cd163da-d096-7e9e-28f6-f3620962a660@gmail.com> Comments: In-reply-to Alexander Lakhin message dated "Mon, 01 May 2023 15:00:00 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3410201.1683214018.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Thu, 04 May 2023 11:26:58 -0400 Message-ID: <3410202.1683214018@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alexander Lakhin writes: > I continue watching the array handling bugs dancing Sirtaki too. Now it's > another asymmetry: > select '{{1},{{2}}}'::int[]; >  {{{1}},{{2}}} > but: > select '{{{1}},{2}}'::int[]; >  {} For the sake of the archives --- this issue in the core code is being tracked at https://www.postgresql.org/message-id/2794005.1683042087%40sss.pgh.pa.us I think all the reported issues in plperl and plpython are resolved now. regards, tom lane