Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eejtg-0005bF-Mz for pgsql-odbc@arkaria.postgresql.org; Thu, 25 Jan 2018 15:57:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eejtg-0006dD-8Q for pgsql-odbc@arkaria.postgresql.org; Thu, 25 Jan 2018 15:57:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eejnw-0003Wp-BS for pgsql-odbc@lists.postgresql.org; Thu, 25 Jan 2018 15:51:08 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eejns-0004zI-7x for pgsql-odbc@postgresql.org; Thu, 25 Jan 2018 15:51:07 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 5D534AD27AEB for ; Thu, 25 Jan 2018 08:51:01 -0700 (MST) Date: Thu, 25 Jan 2018 08:51:01 -0700 (MST) From: michael To: pgsql-odbc@postgresql.org Message-ID: <1516895461336-0.post@n3.nabble.com> Subject: statement timeout with psqlODBC 09.05.300+ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, This ticket is related to http://www.postgresql-archive.org/BUG-odbc-statement-timeout-gets-set-to-30000-td5992591.html The client using the ODBC Driver is on Windows 7, must be x86 compatible, and connect to a 9.6 postgresql database. from 09.05.300+ version of the ODBC driver x86 (tested up to 10.01), queries which used to work fine with drivers 08.x now throw "ERROR: canceling statement due to statement timeout;" It seems that there is now a default setting for statement timeout coming with 9.5+ versions of the driver (less than 1 mn), and I did not find any way to change this setting. I tried to find a key in the Windows Registry Database or to set the timeout in the connection string but did not find good documentation and did not succeeded. Any help woul be appreciated -- Sent from: http://www.postgresql-archive.org/PostgreSQL-odbc-f2186591.html