On Aug 24, 2010, at 7:05 AM, Tom Lane wrote:
> You could do it like this:
>
> SELECT cmp_ok(lv, op, rv) FROM unnest(ARRAY[
> ROW('1.2.2', '=', '1.2.2'),
> ROW('1.2.23', '=', '1.2.23')
> ]::vcmp[]);
Oh, duh. :-)
>> psql:t/types.pg:205: ERROR: invalid memory alloc request size 18446744071604011012
>> Wha??
>> That seems like a bug.
>
> I get a core dump on that one ... looking ...
Well I'm glad I reported it, then.
Best,
David