Re: Returning Composite Types from C functions

From: "John Hansen" <john(at)geeknet(dot)com(dot)au>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:36:33
Message-ID: 5066E5A966339E42AA04BA10BA706AE50A9353@rodrick.geeknet.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Yes, it worked for me,...

But my point is the workaround shouldn't be nescessary....

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Saturday, June 18, 2005 11:36 PM
> To: John Hansen
> Cc: Michael Fuhr; pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] Returning Composite Types from C functions
>
> "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
>
>

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2005-06-18 13:53:53 Re: default database creation with initdb
Previous Message Tom Lane 2005-06-18 13:35:30 Re: Returning Composite Types from C functions