Row versionning between MS-Access and PostgreSQL 8

Lists: pgsql-odbc
From: "Ets ROLLAND" <ets(at)rolland-fr(dot)com>
To: "pgsql ODBC" <pgsql-odbc(at)postgresql(dot)org>
Subject: Row versionning between MS-Access and PostgreSQL 8
Date: 2005-07-22 13:12:40
Message-ID: 007e01c58ebf$0a0cb5b0$6400a8c0@lrp43208
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-odbc

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


From: Christof Thalhofer <devnull(at)deganius(dot)de>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Row versionning between MS-Access and PostgreSQL 8
Date: 2005-07-24 18:07:05
Message-ID: Xns969DCCA716ED4blacklistdeganiusde@192.168.99.1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-odbc

"Ets ROLLAND" wrote

> 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.

try an older psqlodbc driver. In my opinion psqlodbc-07_02_0005 or psqlodbc-
07_02_0004 should work, as I mentioned below. I had the same error with the
newer drivers.

Alles Gute,

Christof
(For mail change "devnull" to my first name.)

--
oans zwoa drei fia
#/&wrxfs$%pff3rx4656tspf&x=#%xkro&(w53x4bl=h)$%