X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 974B43A40E3 for ; Mon, 8 Nov 2004 22:30:51 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 58358-05 for ; Mon, 8 Nov 2004 22:30:44 +0000 (GMT) Received: from server.gpdnet.co.uk (gpdnet.plus.com [212.56.100.243]) by svr1.postgresql.org (Postfix) with ESMTP id 038063A408C for ; Mon, 8 Nov 2004 22:30:45 +0000 (GMT) Received: from [192.168.1.2] (unknown [192.168.1.2]) by server.gpdnet.co.uk (Postfix) with ESMTP id 3EFC6FBBB7 for ; Mon, 8 Nov 2004 22:31:11 +0000 (GMT) Message-ID: <418FF35D.4080705@gpdnet.co.uk> Date: Mon, 08 Nov 2004 22:29:49 +0000 From: Gary Doades User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: ODBC Driver stability References: <418FB3D1.2000604@online.de> In-Reply-To: <418FB3D1.2000604@online.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/14 X-Sequence-Number: 4628 Unfortunately I have to come to the conclusion that the latest ODBC driver (8.0.0.2) is not as stable as first thought. When I initially tested it I was using a single application with a few connections and it seemed OK (better than 8.0.0.1 anyway) Recently I have been doing heavier load testing within my ASP.NET application. Being a Web app on Windows it is inheriently multi-threaded and uses the MS .NET connect-execute-fetch-disconnect cycle heavily. After obtaining just 10 connections and executing SQL the app starts to report random database failure messages "No error" and null reference exceptions withing Syetem.Data are common. Various restarts, checking there are no other psqlodbc dlls and various test loads end up with the same situation fairly quickly. Switching back to the 7.3.2.0 ODBC driver and the app will run stable for hours (or for as long as the test runs) with no driver errors. I can now reproduce this problem in a single Windows GUI app by getting lots of connections and radpidly executing SQL immediately after opening each of the connections. Sadly being in the .NET environment I can't see how to debug the driver in these situations or how to get more information about the faults. It still looks like buffer overruns causing the main problems. I'm a bit concerned that Postgres is going to end up with a fantastic server (even on Windows!), but badly let down by the ODBC driver, which I suspect that a lot of the Windows newcomers will want to use. I know that 7.3.2.0 is stable at the moment, but what is the way forward? Regards, Gary.