pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Changing configuration options at runtime possible?
2+ messages / 2 participants
[nested] [flat]

* Changing configuration options at runtime possible?
@ 2020-01-22 12:44  Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
  0 siblings, 1 reply; 2+ messages in thread

From: Jan-Peter Seifert @ 2020-01-22 12:44 UTC (permalink / raw)
  To: pgsql-odbc

Hello,

I wonder whether it's possible to change configuration options at
runtime - namely "Use Declare/Fetch". We cannot activate it per default
to prevent out of memory errors, because it can cause errors elsewhere.
Could you tell me, please?

Thank you very much!

Best regards,

Peter






^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Changing configuration options at runtime possible?
@ 2020-01-22 19:42  Clemens Ladisch <clemens@ladisch.de>
  parent: Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Clemens Ladisch @ 2020-01-22 19:42 UTC (permalink / raw)
  To: pgsql-odbc@lists.postgresql.org

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-01-22 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22 12:44 Changing configuration options at runtime possible? Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
2020-01-22 19:42 ` Clemens Ladisch <clemens@ladisch.de>

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