pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Bart Samwel <bart@samwel.tk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Most recent driver aborts transaction after one error
Date: Sat, 18 Mar 2006 13:22:25 +0900
Message-ID: <441B8B01.10108@tpf.co.jp> (raw)
In-Reply-To: <441A8E02.4080206@samwel.tk>
References: <44194B56.5050304@samwel.tk>
	<4419FB0A.3000905@tpf.co.jp>
	<441A8E02.4080206@samwel.tk>

Bart Samwel wrote:

> Hiroshi Inoue wrote:
>
>> Bart Samwel wrote:
>>
> After working around some problems, my test situation worked 
> perfectly. Thanks for the hint!
>
> These were the problems I encountered:
>
> 1. SQLGetInfo(SQL_DBMS_NAME) returns "PostgreSQL35W", and 
> SQLGetInfo(SQL_DBMS_VER) returns a number in the 07.30 range, while 
> I'm running PostgreSQL 8.1. I think that "PostgreSQL35W" is fine for a 
> SQL_DRIVER_NAME, but SQL_DBMS_NAME should be simply "PostgreSQL", and 
> SQL_DBMS_VER should return the DBMS version, not the driver version 
> (which should be returned by SQL_DRIVER_VER).


I will examine it.
Thanks.

>
> 2. I also encountered an access violation while exiting. The call 
> stack was not very informative:
>
>      ntdll.dll!_RtlpWaitForCriticalSection@4()  + 0x5b   
>      ntdll.dll!_RtlEnterCriticalSection@4()  + 0x46   
>     psqlodbc35w.dll!023a097e()    
>      ntdll.dll!_RtlpFreeDebugInfo@4()  + 0x57   
>      ntdll.dll!_RtlDeleteCriticalSection@4()  + 0x78   
>
> If you want me to try this with a debug-compiled psqlodbc35w, just say 
> the word!


It looks like a thread is about to Free a Handle while another thread is 
wating for the Handle.
OK please send me the mylog output.

regards,
Hiroshi Inoue



view thread (11+ messages)  latest in thread

Message-ID: <441B8B01.10108@tpf.co.jp>
Permalink:  ../441B8B01.10108@tpf.co.jp/
Also on:    postgresql.org/message-id/441B8B01.10108@tpf.co.jp

 · 

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: inoue@tpf.co.jp, bart@samwel.tk
  Subject: Re: Most recent driver aborts transaction after one error
  In-Reply-To: <441B8B01.10108@tpf.co.jp>
  References: <44194B56.5050304@samwel.tk> <4419FB0A.3000905@tpf.co.jp> <441A8E02.4080206@samwel.tk> <441B8B01.10108@tpf.co.jp>

* 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