[pgsql-ayuda] problema con funciones

From: "Sergio Cisternas" <scisternas(at)yx(dot)cl>
To: <pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx>
Subject: [pgsql-ayuda] problema con funciones
Date: 2003-06-20 19:03:17
Message-ID: 003701c3375e$9c660110$4e129b92@sergio
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

hola
como creo una función que devuelva un recorset

create o replace function xxx() returns ???
as '
declare
rs ???;

begin
rs:=(select * from xxx) ;
return rs ;
end '
laguage 'plpgsql' ;

no conozco el tipo de dato recordset

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Manuel Sugawara 2003-06-20 19:09:25 Re: [Pgsql-ayuda] Problema con funciones
Previous Message Alvaro Herrera 2003-06-20 18:56:37 Re: [Pgsql-ayuda] Problema con funciones