Re: Typing Records

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Typing Records
Date: 2010-08-24 15:06:53
Message-ID: 386043D3-0C62-412A-89F3-5A3A33C04931@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-08-24 15:24:59 Re: EXPLAIN doesn't show the actual function expression for FunctionScan
Previous Message David E. Wheeler 2010-08-24 15:06:27 Re: Typing Records