Re: Changing configuration options at runtime possible?

From: Clemens Ladisch <clemens(at)ladisch(dot)de>
To: pgsql-odbc(at)lists(dot)postgresql(dot)org
Subject: Re: Changing configuration options at runtime possible?
Date: 2020-01-22 19:42:09
Message-ID: 1ec2cdfe-f1a1-38f5-73fa-6a4d56e747fe@ladisch.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Jan-Peter Seifert wrote:
> I wonder whether it's possible to change configuration options at
> runtime - namely "Use Declare/Fetch".

#define SQL_ATTR_PGOPT_USE_DECLAREFETCH 65539

SQLINTEGER use_declarefetch = ...;

ret = SQLSetConnectAttr(hConn, SQL_ATTR_PGOPT_USE_DECLAREFETCH, (SQLPOINTER)use_declarefetch, SQL_IS_INTEGER);

Regards,
Clemens

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Aravind Kumar 2020-01-23 09:00:10 ODBC drivers for AIX
Previous Message Jan-Peter Seifert 2020-01-22 12:44:42 Changing configuration options at runtime possible?