pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David P. Lurie <dbase4@hotmail.com>
To: pgsql-odbc@postgresql.org
Subject: MS Access and int8 columns
Date: Sun, 27 Jun 2004 19:27:24 -0400
Message-ID: <cbnl45$4h2$1@sea.gmane.org> (raw)

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







Message-ID: <cbnl45$4h2$1@sea.gmane.org>
Permalink:  ../cbnl45$4h2$1@sea.gmane.org/
Also on:    postgresql.org/message-id/cbnl45$4h2$1@sea.gmane.org

 · 

reply

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: dbase4@hotmail.com
  Subject: Re: MS Access and int8 columns
  In-Reply-To: <cbnl45$4h2$1@sea.gmane.org>
  References: <cbnl45$4h2$1@sea.gmane.org>

* 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