Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gaMtd-0005bU-CF for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Dec 2018 15:39:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gaMtb-00067A-Vi for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Dec 2018 15:39:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gaMtb-000673-PQ for pgsql-bugs@lists.postgresql.org; Fri, 21 Dec 2018 15:39:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gaMtY-0002sM-TM for pgsql-bugs@postgresql.org; Fri, 21 Dec 2018 15:39:26 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id wBLFdMkF025443; Fri, 21 Dec 2018 10:39:22 -0500 From: Tom Lane To: =?UTF-8?Q?Vladim=C3=ADr_Houba_ml=2E?= cc: pgsql-bugs@postgresql.org Subject: Re: JSON_POPULATE_RECORDSET empty array bug In-reply-to: References: Comments: In-reply-to =?UTF-8?Q?Vladim=C3=ADr_Houba_ml=2E?= message dated "Fri, 21 Dec 2018 15:35:32 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25441.1545406762.1@sss.pgh.pa.us> Date: Fri, 21 Dec 2018 10:39:22 -0500 Message-ID: <25442.1545406762@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =?UTF-8?Q?Vladim=C3=ADr_Houba_ml=2E?= writes: > but the following command crashes the backend > SELECT * FROM JSON_POPULATE_RECORDSET(NULL::information_schema.columns, > '[]') Hm, works for me. What version are you testing? [ digs in commit log... ] If that's 11.0 or 11.1, I think this was resolved by commit 595220a3a. regards, tom lane