Recovering a row result - Mailing list pgsql-general

From Luis Alberto Pérez Paz
Subject Recovering a row result
Date
Msg-id 7f64980c0605021503u460217abked0c410a3bac2fff@mail.gmail.com
Whole thread Raw
List pgsql-general
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)

pgsql-general by date:

Previous
From: Devrim GUNDUZ
Date:
Subject: Re: For vim users: Syntax highlighting for PostgreSQL
Next
From: Oleg Bartunov
Date:
Subject: Re: Use of ISpell dictionaries with tsearch2 - what is