Returning back a resultset from a stored function

From: Daniel Daoust <daoustd_ca(at)yahoo(dot)ca>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Returning back a resultset from a stored function
Date: 2004-08-27 15:04:09
Message-ID: 20040827150409.37863.qmail@web40910.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Peter Eisentraut 2004-08-27 16:06:07 Re: Returning back a resultset from a stored function
Previous Message PavelK 2004-08-26 16:49:10 Error: The buffer was too small for the InfoValue