From: | Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: composite types |
Date: | 2004-04-20 21:11:46 |
Message-ID: | 20040420231146.4cb53593@stige.webthatworks.it |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, 20 Apr 2004 17:41:30 +0200
Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it> wrote:
> I'd like to compute some "row like" results and return them from a
> function (and pass the result to PHP[*]).
>
> Well I've read about composite type but all the references I've seen
> are about coding in C. That's not the way I'd like to follow by now.
>
> I was expecting to declare composite types in plpsql or plain sql in
> a similar way I'd do in C/C++ with struct/class.
<shame>
http://pgsqld.active-venture.com/sql-createtype.html
This seems more like what I was looking for.
</shame>
I'll do some tests tomorrow and get back to the list if it isn't what
I was looking for.
From | Date | Subject | |
---|---|---|---|
Next Message | Keith C. Perry | 2004-04-20 21:19:39 | Re: upgrade postgres 7.1 to 7.4.2 |
Previous Message | Keith C. Perry | 2004-04-20 21:02:08 | Re: [OT] Tom's/Marc's spam filters? |