X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E122F529C4 for ; Fri, 22 Jul 2005 14:21:19 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 53598-07 for ; Fri, 22 Jul 2005 17:21:14 +0000 (GMT) Received: from moscou.magic.fr (moscou.magic.fr [62.210.158.41]) by svr1.postgresql.org (Postfix) with ESMTP id 51432529BC for ; Fri, 22 Jul 2005 14:21:13 -0300 (ADT) Received: from lrp43208 (ppp-52.net-555.magic.fr [62.210.255.52]) by moscou.magic.fr (8.11.6/8.10.1) with SMTP id j6MHL8u03284 for ; Fri, 22 Jul 2005 19:21:08 +0200 (CEST) Message-ID: <023b01c58ee1$c2fbe100$6400a8c0@lrp43208> Reply-To: "Ets ROLLAND" From: "Ets ROLLAND" To: "pgsql ODBC" Subject: Row versionning between MS-Access and PostgreSQL 8 Date: Fri, 22 Jul 2005 19:21:13 +0200 Organization: Etablissements ROLLAND MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0238_01C58EF2.863383C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.087 tagged_above=0 required=5 tests=AWL, HTML_50_60, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200507/118 X-Sequence-Number: 5584 This is a multi-part message in MIME format. ------=_NextPart_000_0238_01C58EF2.863383C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=20 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 ------=_NextPart_000_0238_01C58EF2.863383C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello !
 
I made the port of an Access = 2002 Database to=20 PostgreSQL 8, it seems to work.
I still use MS-Access 2002 for the = application,=20 using ODBC with linked tables.
 
For all the data created BEFORE the = transfert to=20 PostgreSQL, all works fine.
For the records created SINCE this = transfert, it is=20 impossible to modify or delete these records !?
MS-Access say that "The record is = acceded by an=20 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=20 data, which includes a timestamp.
 PG=20 supports fractional-seconds which is confusing = Access.
All your old=20 timestamps aren't fractional because they were imported from=20 Access.
When you define=20 your timestamps in PG you can control how much accuracy you=20 want
- might be=20 worth dumping/restoring without the fractions.
Look for a "row = versioning"=20 option in your ODBC settings. Also, there's
an ODBC list too - check = the=20 mailing-list archives for that."
 
So I understand=20 the problem, but not how to fix it.
I was using=20 psqlODBC v8.00.0101,
I've downloaded=20 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=20 between MS-Access and PostgreSQL 8 ?
 
Thanks for your = help...
 
Bests regards.
 
Luc
------=_NextPart_000_0238_01C58EF2.863383C0--