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 1BE1FD1B1B8 for ; Sun, 27 Jun 2004 20:27:12 -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 43240-10 for ; Sun, 27 Jun 2004 23:27:06 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by svr1.postgresql.org (Postfix) with ESMTP id CA637D1B1AA for ; Sun, 27 Jun 2004 20:27:01 -0300 (ADT) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Bej39-0005xq-00 for ; Mon, 28 Jun 2004 01:27:03 +0200 Received: from 24-151-240-198.chartertn.net ([24.151.240.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Jun 2004 01:27:03 +0200 Received: from dbase4 by 24-151-240-198.chartertn.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Jun 2004 01:27:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-odbc@postgresql.org From: "David P. Lurie" Subject: MS Access and int8 columns Date: Sun, 27 Jun 2004 19:27:24 -0400 Lines: 23 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 24-151-240-198.chartertn.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=PRIORITY_NO_NAME, RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200406/54 X-Sequence-Number: 4124 The problems with psqlodbc 7.03.03.00 and 09 that I posted on earlier may all be related to int8 columns. The current default translates int8 columns to numeric when postgres tables are linked to an Access 2003 mdb. No native int8 data type for Access mdb, although Access projects can use MSSQL bigint=int8. All of the int8 columns in the postgres tables were autonumber-like fields based on sequences, and used as primary keys. I converted them all to int4, and haven't had any recurrent errors today. The int8 -> numeric mapping by the psqlodbc driver must be almost right, because the errors only show up after the Access mdb has been open for a while, and only clear if Access, but not the mdb only, is closed and reopened. Access doesn't successfully link from an mdb to an MSSQL table with a bigint/int8 primary key column at all. It maps the int8 column to text, resulting in the #Deleted error when the linked table is opened. The same table functions normally within an Access project. David P. Lurie