From jb@anykey.co.il Thu Sep 21 17:12:42 2006 X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 4FA4B9FB3AB for ; Thu, 21 Sep 2006 14:12:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 72554-08 for ; Thu, 21 Sep 2006 17:12:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from server.nextgap2000.com (server.nextgap2000.com [66.98.160.7]) by postgresql.org (Postfix) with ESMTP id 186D49FB2BA for ; Thu, 21 Sep 2006 14:12:03 -0300 (ADT) Received: from [82.166.55.44] (helo=jonathanlaptop) by server.nextgap2000.com with esmtpa (Exim 4.52) id 1GQS5h-0004ET-0d for pgsql-odbc@postgresql.org; Thu, 21 Sep 2006 20:12:02 +0300 From: "Jonathan Blitz" To: Subject: Access Violation in VC++ 2005 Date: Thu, 21 Sep 2006 20:11:34 +0200 Message-ID: <017d01c6dda9$62d6e5a0$ddf71005@jonathanlaptop> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_017E_01C6DDBA.265FB5A0" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Thread-Index: AcbdqV8Jjui7EDo/REq7YcrLTbs1kA== X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.nextgap2000.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - anykey.co.il X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.116 tagged_above=0 required=5 tests=HTML_MESSAGE, HTML_TEXT_AFTER_BODY X-Spam-Level: X-Archive-Number: 200609/85 X-Sequence-Number: 8236 This is a multi-part message in MIME format. ------=_NextPart_000_017E_01C6DDBA.265FB5A0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: quoted-printable Hi, I am using VC++ 2005. PostgreSQL version 8.0.3. =20 I am having problems with the ODBC driver. =20 When I try to close the connection using SQLDisconnect I get an Access Violation Exception. =20 Thing is this ONLY occurs with the driverv version 8.02.00.02 If I use the older ones =93PostgreSQL ANSI 8.01.02.00=94 or = =93PostgreSQL Unicode 8.01.02.00=94 then all is ok. =20 Also, this ONLY happens after I create a statement. If I just open and then close the connection then all is ok. Closing the statement first has no effect. =20 Jonathan Blitz =20 --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: = 09/15/2006 =20 ------=_NextPart_000_017E_01C6DDBA.265FB5A0 Content-Type: text/html; charset="windows-1250" Content-Transfer-Encoding: quoted-printable

Hi,

I am using VC++ 2005.

PostgreSQL version = 8.0.3.

 

I am having problems with the ODBC = driver.

 

When I try to close the connection using = SQLDisconnect  I get an Access Violation Exception.

 

Thing is this ONLY occurs with the driverv version = 8.02.00.02

If I use the older ones “PostgreSQL ANSI = 8.01.02.00” or “PostgreSQL Unicode 8.01.02.00” then all is = ok.

 

Also, this ONLY happens after I create a = statement.

If I just open and then close the connection then all = is ok.

Closing the statement first has no = effect.

 

Jonathan Blitz

 


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: = 09/15/2006

------=_NextPart_000_017E_01C6DDBA.265FB5A0-- From inoue@tpf.co.jp Fri Sep 22 00:44:13 2006 X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 3434E9FA5F3 for ; Thu, 21 Sep 2006 21:44:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 46576-06 for ; Fri, 22 Sep 2006 00:44:03 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id BBC589FA268 for ; Thu, 21 Sep 2006 21:44:01 -0300 (ADT) Received: (qmail 29889 invoked from network); 22 Sep 2006 09:43:58 +0900 Received: from unknown (HELO ?100.0.32.170?) (100.0.32.170) by sd2.tpf-fw-c.co.jp with SMTP; 22 Sep 2006 09:43:58 +0900 Message-ID: <451331AB.9010006@tpf.co.jp> Date: Fri, 22 Sep 2006 09:43:23 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Jonathan Blitz CC: pgsql-odbc@postgresql.org Subject: Re: Access Violation in VC++ 2005 References: <017d01c6dda9$62d6e5a0$ddf71005@jonathanlaptop> In-Reply-To: <017d01c6dda9$62d6e5a0$ddf71005@jonathanlaptop> Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200609/87 X-Sequence-Number: 8238 Jonathan Blitz wrote: > Hi, > > I am using VC++ 2005. > > PostgreSQL version 8.0.3. > > > > I am having problems with the ODBC driver. > > > > When I try to close the connection using SQLDisconnect I get an Access > Violation Exception. > > > > Thing is this ONLY occurs with the driverv version 8.02.00.02 Please try the 8.2.0100 version at http://www.postgresql.org/ftp/odbc/versions/ . regards, Hiroshi Inoue From jb@anykey.co.il Fri Sep 22 09:21:15 2006 X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 08C319FB3BC for ; Fri, 22 Sep 2006 06:21:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 93430-07 for ; Fri, 22 Sep 2006 09:21:00 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from server.nextgap2000.com (server.nextgap2000.com [66.98.160.7]) by postgresql.org (Postfix) with ESMTP id 10DAE9FB353 for ; Fri, 22 Sep 2006 06:21:00 -0300 (ADT) Received: from [82.166.55.36] (helo=jonathanlaptop) by server.nextgap2000.com with esmtpa (Exim 4.52) id 1GQhDM-0001ED-Ns; Fri, 22 Sep 2006 12:20:57 +0300 From: "Jonathan Blitz" To: "'Hiroshi Inoue'" Cc: Subject: Re: Access Violation in VC++ 2005 Date: Fri, 22 Sep 2006 12:20:27 +0200 Message-ID: <029d01c6de30$bbb8ba40$ddf71005@jonathanlaptop> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Thread-Index: Acbd4FXj76Eybd/ySZK7rXItBIplpwAUFy3w In-Reply-To: <451331AB.9010006@tpf.co.jp> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.nextgap2000.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - anykey.co.il X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200609/91 X-Sequence-Number: 8242 The only thing I am scared of is that if I do install a newer one it will totally screw up the ones I have. I have about 25 databases and most of them, for some reason, don't appear in the list of ODBC sources. Nevertheless they are there since they are in the registry and also work. They use the driver called: psqlodbc.dll The ones that don't work use psqlobc35w. The one that didn't work but I fixed works with psqlodbc35a I'm scared that if I install the newest one it will overwrite the one that works. Is it a different dll name? Jonathan > -----Original Message----- > From: Hiroshi Inoue [mailto:inoue@tpf.co.jp] > Sent: Friday, September 22, 2006 2:43 AM > To: Jonathan Blitz > Cc: pgsql-odbc@postgresql.org > Subject: Re: [ODBC] Access Violation in VC++ 2005 > > Jonathan Blitz wrote: > > Hi, > > > > I am using VC++ 2005. > > > > PostgreSQL version 8.0.3. > > > > > > > > I am having problems with the ODBC driver. > > > > > > > > When I try to close the connection using SQLDisconnect I get an Access > > Violation Exception. > > > > > > > > Thing is this ONLY occurs with the driverv version 8.02.00.02 > > Please try the 8.2.0100 version at http://www.postgresql.org/ftp/odbc/versions/ . > > regards, > Hiroshi Inoue > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 9/15/2006 > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 09/15/2006 > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 09/15/2006