From: Clemens Ladisch <clemens@ladisch.de>
To: pgsql-odbc@lists.postgresql.org
Subject: Re: Getting Recordset through returning refcursor
Date: Fri, 15 Nov 2019 14:29:18 +0100
Message-ID: <d857345e-d107-28bf-0382-33bf53807e2a@ladisch.de> (raw)
In-Reply-To: <trinity-1522e455-0c2c-4157-a8c2-c29002e33840-1573819500211@3c-app-gmx-bs65>
References: <trinity-1522e455-0c2c-4157-a8c2-c29002e33840-1573819500211@3c-app-gmx-bs65>
Kubilay Kaan wrote:
> So my question is does the ODBC driver supports refcursor??
The ODBC driver just transmits all SQL commands to the database.
As far as I know, the refcursor type is not available in SQL, only in PL/pgSQL,
which can be used only inside functions.
> "select GetRecordSetByID_ref('refcur', 1); FETCH ALL IN \"refcur\";"
Do these commands work when executed in psql?
Regards,
Clemens
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: clemens@ladisch.de
Subject: Re: Getting Recordset through returning refcursor
In-Reply-To: <d857345e-d107-28bf-0382-33bf53807e2a@ladisch.de>
References: <trinity-1522e455-0c2c-4157-a8c2-c29002e33840-1573819500211@3c-app-gmx-bs65> <d857345e-d107-28bf-0382-33bf53807e2a@ladisch.de>
* 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