Hi everybody!
I'm migrating some sybase store procedures to postgres functions,
In sybase I can write:
--------------
create proc algo()
as
if exists (something)
return -900;
else
SELECT * from tabla
return 0
-------------
Inside of my procedure I don't use the SELECT result, however I can recover the row result after the procedure execution using "db libraries".
I don't know if in postgres exists something like this, does anybody can help me?
thanks in advance!
Luis A. Perez Paz
--
paz, amor y comprensión
(1967-1994)