From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Corrado Cavallini <ccavalli@baan.com>
Cc: 'pgsql-odbc@postgresql.org' <pgsql-odbc@postgresql.org>
Subject: Re: ODBC 07.03.0100 Incorrect mapping of Int8 fields in Access
Date: Mon, 02 Jun 2003 08:52:31 +0900
Message-ID: <3EDA91BF.B219BF5E@tpf.co.jp> (raw)
References: <FB28BEFE574F5A4F8D00851843A258EC8AAD68@ex-nld-u1.baan.com>
Corrado Cavallini wrote:
>
> ODBC driver version 07.03.0100
> PostgreSQL database version 7.3.1
>
> After having updated to the latest I found that I cannot no more read files
> containing an Int8 fields in a primary key using Access 2002.
> I could still use those files with the legacy driver version.
>
> Is easy to recreate the error:
>
> 1)Create a simple table:
> CREATE TABLE public._test (
> col1 int8 NOT NULL,
> col2 varchar(50) NOT NULL,
> CONSTRAINT _test_pkey PRIMARY KEY (col1, col2)
> ) WITH OIDS;
> 2) manually fill some records
> 3) open an empty access 2000 database
> 4) create 2 ODBC DNS using the last and the legacy driver
> 5) link the table twice, with the two different DNS
> 6) the table linked with odbc legacy is visible
> 7) the other give You an error
>
> I have noted that if You look at the design of the linked table, the Int8
> column is mapped to "Text 255" while in the legacy is mapped to "Text 19" so
> I suspect that the total lenght of the primary key exceed some limit.
>
> Hope this could help
Please try the snapshot dll at
http://www.geocities.jp/inocchichichi/psqlodbc/
or change the *INT8 AS" DSN option.
regards,
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/
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: Inoue@tpf.co.jp, ccavalli@baan.com
Subject: Re: ODBC 07.03.0100 Incorrect mapping of Int8 fields in Access
In-Reply-To: <3EDA91BF.B219BF5E@tpf.co.jp>
References: <FB28BEFE574F5A4F8D00851843A258EC8AAD68@ex-nld-u1.baan.com> <3EDA91BF.B219BF5E@tpf.co.jp>
* 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