Re: Changing configuration options at runtime possible? - Mailing list pgsql-odbc

From Clemens Ladisch
Subject Re: Changing configuration options at runtime possible?
Date
Msg-id 1ec2cdfe-f1a1-38f5-73fa-6a4d56e747fe@ladisch.de
Whole thread Raw
In response to Changing configuration options at runtime possible?  (Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>)
List 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



pgsql-odbc by date:

Previous
From: Jan-Peter Seifert
Date:
Subject: Changing configuration options at runtime possible?
Next
From: Aravind Kumar
Date:
Subject: ODBC drivers for AIX