pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gary Doades <gpd@gpdnet.co.uk>
To: pgsql-odbc@postgresql.org
Subject: ODBC Driver stability
Date: Mon, 08 Nov 2004 22:29:49 +0000
Message-ID: <418FF35D.4080705@gpdnet.co.uk> (raw)
In-Reply-To: <418FB3D1.2000604@online.de>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4306D40@ratbert.vale-housing.co.uk>
	<418FB3D1.2000604@online.de>

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.



view thread (19+ messages)  latest in thread

Message-ID: <418FF35D.4080705@gpdnet.co.uk>
Permalink:  ../418FF35D.4080705@gpdnet.co.uk/
Also on:    postgresql.org/message-id/418FF35D.4080705@gpdnet.co.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: gpd@gpdnet.co.uk
  Subject: Re: ODBC Driver stability
  In-Reply-To: <418FF35D.4080705@gpdnet.co.uk>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4306D40@ratbert.vale-housing.co.uk> <418FB3D1.2000604@online.de> <418FF35D.4080705@gpdnet.co.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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