pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Lambert <paul.lambert@autoledgers.com.au>
To: pgsql-odbc@postgresql.org
Subject: Access violation - probably not the fault of Postgres
Date: Thu, 08 Mar 2007 11:27:43 +0900
Message-ID: <45EF749F.5030107@autoledgers.com.au> (raw)

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.

Any thoughts would be welcome.

Thanks,
Paul.

-- 
Paul Lambert
Database Administrator
AutoLedgers



view thread (10+ messages)  latest in thread

Message-ID: <45EF749F.5030107@autoledgers.com.au>
Permalink:  ../45EF749F.5030107@autoledgers.com.au/
Also on:    postgresql.org/message-id/45EF749F.5030107@autoledgers.com.au

 · 

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: paul.lambert@autoledgers.com.au
  Subject: Re: Access violation - probably not the fault of Postgres
  In-Reply-To: <45EF749F.5030107@autoledgers.com.au>
  References: <45EF749F.5030107@autoledgers.com.au>

* 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