Re: Typing Records - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Typing Records
Date
Msg-id 386043D3-0C62-412A-89F3-5A3A33C04931@kineticode.com
Whole thread Raw
In response to Re: Typing Records  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Typing Records
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: Typing Records
Next
From: Robert Haas
Date:
Subject: Re: EXPLAIN doesn't show the actual function expression for FunctionScan