pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dennis <pg-user@calico-consulting.com>
To: postgres SQL <pgsql-sql@postgresql.org>
Subject: returning multiple values and ref cursors
Date: Mon, 03 May 2004 13:40:13 -0400
Message-ID: <courier.409683FD.000070AD@wolverine.lercnetworks.com> (raw)

hello, 

I am porting an Oracle stored procedure to plpgsql (pg 7.4.1) that has about 
ten ref cursor OUT parameters, a varchar OUT parameter and returns an 
integer. The varchar is an error/status message, the integer is a 1/0 for 
success/failure. 

What are your thoughts on the best way to approach this? Break up the stored 
proc into ten different stored procs that return ref cursors? 

Thanks, 

Dennis
dennis at calico dash consulting dot com 




view thread (2+ messages)  latest in thread

Message-ID: <courier.409683FD.000070AD@wolverine.lercnetworks.com>
Permalink:  ../courier.409683FD.000070AD@wolverine.lercnetworks.com/
Also on:    postgresql.org/message-id/courier.409683FD.000070AD@wolverine.lercnetworks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: pg-user@calico-consulting.com
  Subject: Re: returning multiple values and ref cursors
  In-Reply-To: <courier.409683FD.000070AD@wolverine.lercnetworks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox