pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ets ROLLAND <ets@rolland-fr.com>
To: pgsql ODBC <pgsql-odbc@postgresql.org>
Subject: Row versionning between MS-Access and PostgreSQL 8
Date: Fri, 22 Jul 2005 19:21:13 +0200
Message-ID: <023b01c58ee1$c2fbe100$6400a8c0@lrp43208> (raw)



Hello !

I made the port of an Access 2002 Database to PostgreSQL 8, it seems to work.
I still use MS-Access 2002 for the application, using ODBC with linked tables.

For all the data created BEFORE the transfert to PostgreSQL, all works fine.
For the records created SINCE this transfert, it is impossible to modify or delete these records !?
MS-Access say that "The record is acceded by an other user", even I am the only user.

Someone tell to me, on the general forum, that :
"Access is trying to identify rows by looking at the data, which includes a timestamp.
 PG supports fractional-seconds which is confusing Access.
All your old timestamps aren't fractional because they were imported from Access.
When you define your timestamps in PG you can control how much accuracy you want
- might be worth dumping/restoring without the fractions.
Look for a "row versioning" option in your ODBC settings. Also, there's 
an ODBC list too - check the mailing-list archives for that."

So I understand the problem, but not how to fix it.
I was using psqlODBC v8.00.0101,
I've downloaded the new snapshot v8.01.0002 without any change.
I try to create row versioning function as explain at :
http://docman.sourceforge.net/home_html/projects/sql/access_fix.sql
but now MS-Access crash when I try to modify any record !

How can I fix the Row versionning between MS-Access and PostgreSQL 8 ?

Thanks for your help...

Bests regards.

Luc

view thread (5+ messages)  latest in thread

Message-ID: <023b01c58ee1$c2fbe100$6400a8c0@lrp43208>
Permalink:  ../023b01c58ee1$c2fbe100$6400a8c0@lrp43208/
Also on:    postgresql.org/message-id/023b01c58ee1$c2fbe100$6400a8c0@lrp43208

 · 

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: ets@rolland-fr.com
  Subject: Re: Row versionning between MS-Access and PostgreSQL 8
  In-Reply-To: <023b01c58ee1$c2fbe100$6400a8c0@lrp43208>
  References: <023b01c58ee1$c2fbe100$6400a8c0@lrp43208>

* 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