Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id C39789FB1E7 for ; Thu, 8 Mar 2007 01:24:53 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 41998-03 for ; Thu, 8 Mar 2007 01:24:42 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sd.tpf.co.jp (smtp.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 230B09FA603 for ; Thu, 8 Mar 2007 01:24:41 -0400 (AST) Received: (qmail 20220 invoked from network); 8 Mar 2007 14:24:40 +0900 Received: from unknown (HELO ?127.0.0.1?) (100.0.32.170) by sd2.tpf-fw-c.co.jp with SMTP; 8 Mar 2007 14:24:40 +0900 Message-ID: <45EF9E17.80300@tpf.co.jp> Date: Thu, 08 Mar 2007 14:24:39 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Paul Lambert CC: pgsql-odbc@postgresql.org Subject: Re: Access violation - probably not the fault of Postgres References: <45EF749F.5030107@autoledgers.com.au> In-Reply-To: <45EF749F.5030107@autoledgers.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.363 tagged_above=0 required=5 tests=AWL, BAYES_40 X-Spam-Level: X-Archive-Number: 200703/49 X-Sequence-Number: 8727 Paul Lambert wrote: > I've got an application written in VB which pipes updates to a database in Postgres. The application is written in MS Visual Basic 6.0 using DAO3.6 via ODBC. > If a record exists in the PG database and my VB app therefore does an Edit/Update, it works without a problem. > If the record doesn't exist and I therefore need to do an AddNew/Update my client application crashes with an access violation on the update. > I'm relatively sure it's something on the VB side that is causing this and nothing to do with PG, but I'm just posting here in case anyone has some thoughts about potential causes within PG or its ODBC driver. Could you try the snapshot driver at http://www.geocities.jp/inocchichichi/psqlodbc/index.html ? regards, Hiroshi Inoue