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: Re: returning multiple values and ref cursors
Date: Tue, 04 May 2004 11:28:48 -0400
Message-ID: <courier.4097B6B0.000029E2@wolverine.lercnetworks.com> (raw)
In-Reply-To: <courier.409683FD.000070AD@wolverine.lercnetworks.com>
References: <courier.409683FD.000070AD@wolverine.lercnetworks.com>

Dennis writes: 

> 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? 

I guess another question here is whether I can return a row type or record 
type with (integer, varchar, refcursor) and then make use of the refcursor 
from JDBC. I'm not the one doing the Java development on this project and 
its been a while since I've used JDBC. 

Tom, Bruce, I still owe you guys a test program that gives the error where 
it looks like the temp schema for the connection is getting destroyed before 
the  connection is closed. 

Dennis 




view thread (2+ messages)

Message-ID: <courier.4097B6B0.000029E2@wolverine.lercnetworks.com>
Permalink:  ../courier.4097B6B0.000029E2@wolverine.lercnetworks.com/
Also on:    postgresql.org/message-id/courier.4097B6B0.000029E2@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.4097B6B0.000029E2@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