From ets@rolland-fr.com Fri Jul 22 13:12:48 2005 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 081765284E for ; Fri, 22 Jul 2005 10:12:48 -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 79503-10 for ; Fri, 22 Jul 2005 13:12:43 +0000 (GMT) Received: from quito.magic.fr (quito.magic.fr [62.210.158.45]) by svr1.postgresql.org (Postfix) with ESMTP id 3994252835 for ; Fri, 22 Jul 2005 10:12:37 -0300 (ADT) Received: from lrp43208 (ppp-52.net-555.magic.fr [62.210.255.52]) by quito.magic.fr (8.11.6/8.11.2) with SMTP id j6MDCcG03494 for ; Fri, 22 Jul 2005 15:12:38 +0200 (CEST) Message-ID: <007e01c58ebf$0a0cb5b0$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 15:12:40 +0200 Organization: Etablissements ROLLAND MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_007B_01C58ECF.CD27F6D0" 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.086 tagged_above=0 required=5 tests=AWL, HTML_50_60, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200507/124 X-Sequence-Number: 5590 This is a multi-part message in MIME format. ------=_NextPart_000_007B_01C58ECF.CD27F6D0 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_007B_01C58ECF.CD27F6D0 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_007B_01C58ECF.CD27F6D0-- From ets@rolland-fr.com Fri Jul 22 17:21:19 2005 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-- From greg.campbell@us.michelin.com Fri Jul 22 19:46:17 2005 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 D35BF52907 for ; Fri, 22 Jul 2005 16:46:17 -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 84729-10 for ; Fri, 22 Jul 2005 19:46:12 +0000 (GMT) Received: from gk-us2.michelin.com (gk-us2.michelin.com [156.65.14.19]) by svr1.postgresql.org (Postfix) with ESMTP id 7F80E52905 for ; Fri, 22 Jul 2005 16:46:10 -0300 (ADT) Received: from ONCMH1.onc.michelin.com (unverified) by gk-us2.michelin.com (Content Technologies SMTPRS 4.3.17) with ESMTP id for ; Fri, 22 Jul 2005 15:30:30 -0400 Received: from oncmtap1.onc.michelin.com by oncmh1.onc.michelin.com with ESMTP for pgsql-odbc@postgresql.org; Fri, 22 Jul 2005 15:31:01 -0400 Received: from oncems01.onc.michelin.com ([156.65.125.150]) by oncmtap1.onc.michelin.com (Netscape Messaging Server 4.15) with ESMTP id IK1NJO00.V7F for ; Fri, 22 Jul 2005 15:31:00 -0400 Received: from [10.43.15.207] (unverified) by oncems01.onc.michelin.com (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Fri, 22 Jul 2005 15:30:59 -0400 Message-Id: <42E14972.8050004@us.michelin.com> Date: Fri, 22 Jul 2005 15:30:58 -0400 From: "Greg Campbell" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ets ROLLAND Cc: pgsql ODBC Subject: Re: Row versionning between MS-Access and PostgreSQL 8 References: <023b01c58ee1$c2fbe100$6400a8c0@lrp43208> In-Reply-To: <023b01c58ee1$c2fbe100$6400a8c0@lrp43208> Content-Type: multipart/mixed; boundary="------------030700040205060508090706" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.013 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/119 X-Sequence-Number: 5585 This is a multi-part message in MIME format. --------------030700040205060508090706 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit You should not need a rowversioning function on your PostgreSQL server. It is a setting in the ODBC driver. If you are using a DSN, when configuring your PostgreSQL data source, in the PostgreSQL ODBC Data Source applet window, use the datasource button, then Page 2, and click in the checkbox for row versioning. If you are using a DSN-less connection, for the Connection String include the RowVersioning parameter (=1). Access/OCBC wants to know if some other users has updated the record since you started viewing it -- it may query every field to see if they matched the state when you started to view. The automatically assigned row version number will show up as xmin in any linked tables. But primarily it wants to know if it has the correct record, and will query each field to see if it matches the last known state,.... unless it has an identifiable primary key. Good primary keys, and row versioning solve many of problems. Give every table a good primary key (a key with no floats, no text/memo fields, no LOB/BLOB fields), even if the key is an otherwise unused serial (auto-number). Re-link fields if necessary. Access should have no problem determining the update state of records. If it does use the ODBC Administrator to turn on lo turn on tracing and capture a log file of typical activity. The PostgreSQL documentation talks about how to set the resolution of your timestamp fields. Ets ROLLAND wrote: > > 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 --------------030700040205060508090706 Content-Type: text/x-vcard; charset=utf-8; name="greg.campbell.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="greg.campbell.vcf" begin:vcard fn:Greg Campbell n:Campbell;Greg org:Michelin North America - US5 Lexington;ENG-ASE email;internet:greg.campbell@us.michelin.com title:ASE Systems Engineer tel;work:803-951-5561/x75561 x-mozilla-html:FALSE version:2.1 end:vcard --------------030700040205060508090706-- From greg.campbell@us.michelin.com Fri Jul 22 21:38:16 2005 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 35AFE529BD for ; Fri, 22 Jul 2005 18:38:16 -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 09675-05 for ; Fri, 22 Jul 2005 21:38:05 +0000 (GMT) Received: from gk-us2.michelin.com (gk-us2.michelin.com [156.65.14.19]) by svr1.postgresql.org (Postfix) with ESMTP id 896B8529D5 for ; Fri, 22 Jul 2005 18:38:03 -0300 (ADT) Received: from ONCMH1.onc.michelin.com (unverified) by gk-us2.michelin.com (Content Technologies SMTPRS 4.3.17) with ESMTP id for ; Fri, 22 Jul 2005 17:37:27 -0400 Received: from oncmtap1.onc.michelin.com by oncmh1.onc.michelin.com with ESMTP for pgsql-odbc@postgresql.org; Fri, 22 Jul 2005 17:38:04 -0400 Received: from oncems01.onc.michelin.com ([156.65.125.150]) by oncmtap1.onc.michelin.com (Netscape Messaging Server 4.15) with ESMTP id IK1TFG00.J9Z for ; Fri, 22 Jul 2005 17:38:04 -0400 Received: from [10.43.15.207] (unverified) by oncems01.onc.michelin.com (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Fri, 22 Jul 2005 17:38:03 -0400 Message-Id: <42E1673A.1030606@us.michelin.com> Date: Fri, 22 Jul 2005 17:38:02 -0400 From: "Greg Campbell" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ets ROLLAND Cc: pgsql ODBC Subject: Re: Row versionning between MS-Access and PostgreSQL 8 References: <023b01c58ee1$c2fbe100$6400a8c0@lrp43208> In-Reply-To: <023b01c58ee1$c2fbe100$6400a8c0@lrp43208> Content-Type: multipart/mixed; boundary="------------010108060703010104020802" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.013 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/120 X-Sequence-Number: 5586 This is a multi-part message in MIME format. --------------010108060703010104020802 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit [reply was a little scrambled the first time] You should not need a rowversioning function on your PostgreSQL server. It is a setting in the ODBC driver. If you are using a DSN, when configuring your PostgreSQL data source, in the PostgreSQL ODBC Data Source applet window, use the datasource button, then Page 2, and click in the checkbox for row versioning. If you are using a DSN-less connection, for the Connection String include the RowVersioning parameter (=1). The automatically assigned row version number will show up as xmin in any linked tables. Access/OCBC wants to know if some other users has updated the record since you started viewing it -- it may query every field to see if they matched the state when you started to view. But primarily it wants to know if it has the correct record, and will query each field to see if it matches the last known state,.... unless it has an identifiable primary key. Good primary keys, and row versioning solve many of problems. Give every table a good primary key (a key with no floats, no text/memo fields, no LOB/BLOB fields), even if the key is an otherwise unused serial (auto-number). Re-link fields if necessary. Access should have no problem determining the update state of records. If it does use the ODBC Administrator to turn on lo turn on tracing and capture a log file of typical activity. The PostgreSQL documentation talks about how to set the resolution of your timestamp fields. Ets ROLLAND wrote: > > 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 --------------010108060703010104020802 Content-Type: text/x-vcard; charset=utf-8; name="greg.campbell.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="greg.campbell.vcf" begin:vcard fn:Greg Campbell n:Campbell;Greg org:Michelin North America - US5 Lexington;ENG-ASE email;internet:greg.campbell@us.michelin.com title:ASE Systems Engineer tel;work:803-951-5561/x75561 x-mozilla-html:FALSE version:2.1 end:vcard --------------010108060703010104020802-- From devnull@deganius.de Sun Jul 24 19:37:03 2005 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 DAC0352B0A for ; Sun, 24 Jul 2005 16:37:03 -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 52860-04 for ; Sun, 24 Jul 2005 19:36:54 +0000 (GMT) Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1FDEF52B4A for ; Sun, 24 Jul 2005 16:36:53 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id E4CF030B42; Sun, 24 Jul 2005 21:43:48 +0200 (MET DST) From: Christof Thalhofer X-Newsgroups: pgsql.interfaces.odbc Subject: Re: Row versionning between MS-Access and PostgreSQL 8 Date: Sun, 24 Jul 2005 20:07:05 +0200 Organization: Deganius Lines: 23 Message-ID: References: <007e01c58ebf$0a0cb5b0$6400a8c0@lrp43208> X-Orig-Path: degserv.wacker.deganius.de!news User-Agent: Xnews/06.08.25 To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.966 tagged_above=0 required=5 tests=WEIRD_QUOTING X-Spam-Level: * X-Archive-Number: 200507/138 X-Sequence-Number: 5603 "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 #/&wrx§fs$%pff3örx4656tspf&äx=#%xkr§o&(w53x4bl=äh)$²²²²³%