Re: [PATCH] bugfix for int2vectorin

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Caleb Welton <cwelton@greenplum.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2009-12-02T03:52:32Z
Lists: pgsql-hackers
On Tue, Dec 1, 2009 at 10:38 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Caleb Welton <cwelton@greenplum.com> writes:
>> I believe the int2vectorin function should handle invalid input more cleanly.
>
> Why bother?  Under what circumstances would users (or anyone at all)
> be putting data into an int2vector?  It's an internal type and is
> certainly not meant for use in user tables.

Maybe it's just me, but this seems like an unnecessarily dismissive
response to a report of some rather odd-looking behavior.

...Robert