Re: [BUGS] BUG #14487: malformed empty array from array_fill - Mailing list pgsql-bugs

From Andrew Gierth
Subject Re: [BUGS] BUG #14487: malformed empty array from array_fill
Date
Msg-id 874m1d1q1b.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to [BUGS] BUG #14487: malformed empty array from array_fill  (andrew@tao11.riddles.org.uk)
Responses Re: [BUGS] BUG #14487: malformed empty array from array_fill  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
>>>>> "andrew" == andrew  <andrew@tao11.riddles.org.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)


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: andrew@tao11.riddles.org.uk
Date:
Subject: [BUGS] BUG #14487: malformed empty array from array_fill
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14487: malformed empty array from array_fill