Re: BUG #14487: malformed empty array from array_fill

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14487: malformed empty array from array_fill
Date: 2017-01-05 15:33:19
Message-ID: 874m1d1q1b.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

>>>>> "andrew" == andrew <andrew(at)tao11(dot)riddles(dot)org(dot)uk> 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)

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2017-01-05 15:55:13 Re: BUG #14487: malformed empty array from array_fill
Previous Message andrew 2017-01-05 15:21:56 BUG #14487: malformed empty array from array_fill