Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPA3M-0006SE-Nv for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Jan 2017 15:34:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cPA3M-0004JP-46 for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Jan 2017 15:34:08 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cPA2h-0003aa-NE for pgsql-bugs@postgresql.org; Thu, 05 Jan 2017 15:33:27 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cPA2e-0006fW-IK for pgsql-bugs@postgresql.org; Thu, 05 Jan 2017 15:33:26 +0000 Received: from localhost ([127.0.0.1]:45647 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtp (Exim 4.84 (FreeBSD)) (envelope-from ) id 1cPA2a-000GIZ-2U for pgsql-bugs@postgresql.org; Thu, 05 Jan 2017 15:33:20 +0000 From: Andrew Gierth To: pgsql-bugs@postgresql.org Subject: Re: BUG #14487: malformed empty array from array_fill In-Reply-To: <20170105152156.10135.64195@wrigleys.postgresql.org> (andrew@tao11.riddles.org.uk's message of "Thu, 05 Jan 2017 15:21:56 +0000") Message-ID: <874m1d1q1b.fsf@news-spur.riddles.org.uk> References: <20170105152156.10135.64195@wrigleys.postgresql.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) Date: Thu, 05 Jan 2017 15:33:19 +0000 MIME-Version: 1.0 Content-Type: text/plain X-Pg-Spam-Score: -5.1 (-----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org >>>>> "andrew" == andrew writes: andrew> array_fill returns a malformed empty array when given a size of andrew> zero: Also, why does array_fill reject the case of an empty array of dimensions? It seems obvious that it should return an empty array result in such cases. -- Andrew (irc:RhodiumToad) -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs