returning dynamic record - Mailing list pgsql-general

From nick
Subject returning dynamic record
Date
Msg-id 47312131.1010501@walkerdatanet.com
Whole thread Raw
Responses Re: returning dynamic record  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Just wondering, if it is possible to do the following

create function foo() RETURNS Record(int, varchar, int)

then inside of the function return a set int, varchar, int.

Then be able to call the function

select * From foo()

instead of having to write

select * from foo() as (int, varchar, int)

or declaring a type?

pgsql-general by date:

Previous
From: "Andrej Ricnik-Bay"
Date:
Subject: Re: Npsql is much faster than ODBC ?
Next
From: Tommy Flewwelling
Date:
Subject: ‘--pwfile’ command