Re: Returning Composite Types from C functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "John Hansen" <john(at)geeknet(dot)com(dot)au>
Cc: "Michael Fuhr" <mike(at)fuhr(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Returning Composite Types from C functions
Date: 2005-06-18 13:35:30
Message-ID: 12314.1119101730@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"John Hansen" <john(at)geeknet(dot)com(dot)au> writes:
> There is a workaround tho, so should be fixable:
> SELECT (a.b).* FROM (SELECT ('1:2:3:4:5'::text::my_type) AS b) AS a;
> Or am I missing something?

Try it ;-)

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message John Hansen 2005-06-18 13:36:33 Re: Returning Composite Types from C functions
Previous Message Michael Fuhr 2005-06-18 13:31:11 Re: Returning Composite Types from C functions