Enabling connection pooling by default

From: Vadim Presniak - Consultant <Vadim(dot)Presniak(at)bentley(dot)com>
To: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Cc: Andrius Docius <Andrius(dot)Docius(at)bentley(dot)com>, Zilvinas Susinskas <Zilvinas(dot)Susinskas(at)bentley(dot)com>
Subject: Enabling connection pooling by default
Date: 2021-08-20 11:14:36
Message-ID: 291EA3FA-F9FA-4D31-98D1-5CA87749C850@bentley.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hello,

We had been investigating why our application works dramatically slower with Postgre SQL DB than MS SQL Server and found that the main reason was related to the fact that CPTimeout option is not set for psqlOdbc driver, however this option is set by default to 60 for Microsoft ODBC drivers. We’ve done simple patch with changes for psqlOdbc driver installer to enable this option during driver installation. (0001-CPTimeout-option-set-to-60-for-odbc-driver-by-defaul.patch) Is it possible to push this change in master branch?

This topic was discussed in 2008 (https://www.postgresql.org/message-id/F613CCFA0B7146A38D24394E8F29C66C%40andrusnotebook) but I could not find final decision for this topic.

Regards,
Vadim Presniak

________________________________

This email, including any attachments, may contain confidential and/or proprietary information intended only for the use of the recipient. If you are not the intended recipient, any distribution, copying, or use of this email or its attachments is prohibited. If you received this email in error, please reply to the sender immediately and delete this message and any copies.

Bentley Systems has taken all reasonable steps to ensure that this communication is free from viruses, data corruption, and unauthorized alteration. Bentley Systems does not accept liability for any damages that may be incurred as a result of this or any communication by email

[https://cdn2.webdamdb.com/310th_sm_UnR3pO7k0ir0.jpg?1616176329]

Attachment Content-Type Size
0001-CPTimeout-option-set-to-60-for-odbc-driver-by-defaul.patch application/octet-stream 3.4 KB

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Reshma Toppo 2021-08-20 13:40:13 Understanding plsqlODBC Configuration Options while connecting SSIS to Postgres database
Previous Message David Parenteau 2021-08-17 18:48:45 RE: SSMS ODBC Linked Server Issue