pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Daoust <daoustd_ca@yahoo.ca>
To: pgsql-odbc@postgresql.org
Subject: Returning back a resultset from a stored function
Date: Fri, 27 Aug 2004 11:04:09 -0400 (EDT)
Message-ID: <20040827150409.37863.qmail@web40910.mail.yahoo.com> (raw)

Hi,

I am looking at ways to return a resultset from a
stored function through ODBC.
My background is in Oracle and I have to implement a
new VB6 system using PostgreSQL.

I have found that "psqlodbc" does not support the
refcursor type.
I also investigated the following form: " select *
from somefunc(); ", but realized that this worked only
inside "PL/pgSQL", therefore could not be used
directly from SQL.

First: Are my assumptions correct?
Second: Does anyone know a way to accomplish what I am
trying to do? 

I would appreciate any thoughts on the subject.

Thank you,
Daniel


______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca



view thread (7+ messages)  latest in thread

Message-ID: <20040827150409.37863.qmail@web40910.mail.yahoo.com>
Permalink:  ../20040827150409.37863.qmail@web40910.mail.yahoo.com/
Also on:    postgresql.org/message-id/20040827150409.37863.qmail@web40910.mail.yahoo.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: daoustd_ca@yahoo.ca
  Subject: Re: Returning back a resultset from a stored function
  In-Reply-To: <20040827150409.37863.qmail@web40910.mail.yahoo.com>
  References: <20040827150409.37863.qmail@web40910.mail.yahoo.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