pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #14487: malformed empty array from array_fill
Date: Thu, 05 Jan 2017 15:33:19 +0000
Message-ID: <874m1d1q1b.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <20170105152156.10135.64195@wrigleys.postgresql.org>
References: <20170105152156.10135.64195@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



view thread (3+ messages)  latest in thread

Message-ID: <874m1d1q1b.fsf@news-spur.riddles.org.uk>
Permalink:  ../874m1d1q1b.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/874m1d1q1b.fsf@news-spur.riddles.org.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: andrew@tao11.riddles.org.uk
  Subject: Re: BUG #14487: malformed empty array from array_fill
  In-Reply-To: <874m1d1q1b.fsf@news-spur.riddles.org.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox