Can the following be done?

From: Juan Francisco Diaz <j-diaz(at)publicar(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Can the following be done?
Date: 2003-08-26 19:07:43
Message-ID: BB711A2F.FB%j-diaz@publicar.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Create or replace function foo(param1, param2, param3) RETURNS SETOF
RECORD(name TEXT, age INTEGER, address TEXT) AS ' ... ' LANGUAGE 'plpgsql';

If this is not possible, is there any way to have always the same names and
types for the returning columns when using SETOF RECORD?

Thanks

JuanF
(a newbie in evolution)

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Eft, Aaron 2003-08-26 19:16:44 Re: Using PostgreSQL with PHP / Scope an Lifetime of $re
Previous Message Luis H. 2003-08-26 18:52:12 Re: Using PostgreSQL with PHP / Scope an Lifetime of $result