M C escribió:
> La función es la siguiente:
>
> CREATE OR REPLACE FUNCTION consultar_datosgrales()
> RETURNS SETOF record AS
> $BODY$
> SELECT id, titulo, pag, descripcion, url FROM pantalla;
> $BODY$
> LANGUAGE 'sql' IMMUTABLE;
> ALTER FUNCTION consultar_datosgrales() OWNER TO postgre;
> Cuando la invoco coloco SELECT consultar_datosgrales();
¿Y probaste con
select * from consultar_datosgrales()
como te dije en la primera respuesta?
--
Alvaro Herrera http://www.flickr.com/photos/alvherre/
"I can't go to a restaurant and order food because I keep looking at the
fonts on the menu. Five minutes later I realize that it's also talking
about food" (Donald Knuth)