2009/12/12 Yudelsy Castellón García <[email protected]>:
>
> El error que da es el siguiente:
>
> NOTICE:  SELECT * FROM vw_nmunidad_org;
>
> ERROR:  set-valued function called in context that cannot accept a set
>
> CONTEXT:  PL/pgSQL function "eliminar" line 39 at RETURN NEXT
>

se me ocurre que estas ejecutando la funcion asi:
select prueba(algun_valor)
y deberias estar haciendolo asi:
select * from prueba(algun_valor)

-- 
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157
--
TIP 7: no olvides aumentar la configuraci�n del "free space map"

Responder a