Re: Returning multiple result sets - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Returning multiple result sets
Date
Msg-id BAY20-F428A1066834836F9E5429F9500@phx.gbl
Whole thread Raw
In response to Re: Returning multiple result sets  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Returning multiple result sets
List pgsql-hackers
>
>Consider:
>
>create function a(anyrecord) returns anyrecord;
>create function b(int4) returns anyrecord;
>
>select a(b(2));
>

for my task I need little different form :-(

create function a(..) returns setof tables

but SQL2003 needs type table, and this can be solution

_________________________________________________________________
Emotikony a pozadi programu MSN Messenger ozivi vasi konverzaci. 
http://messenger.msn.cz/



pgsql-hackers by date:

Previous
From: Andrew - Supernews
Date:
Subject: Re: order by, for custom types
Next
From: Grzegorz Jaskiewicz
Date:
Subject: Re: order by, for custom types