pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas <maps.on@gmx.net>
To: Zlatko Matić <zlatko.matic1@sb.t-com.hr>
Cc: pgsql-odbc@postgresql.org
Subject: Re: psqlodbc-08_00_0101 does not work with Ms Access
Date: Mon, 25 Jul 2005 16:05:43 +0200
Message-ID: <42E4F1B7.2000609@gmx.net> (raw)
In-Reply-To: <003301c59076$6ca069c0$d9778353@zlatkovyfkpgz6>
References: <Xns9697C5794A9A4blacklistdeganiusde@192.168.99.1>
	<003301c59076$6ca069c0$d9778353@zlatkovyfkpgz6>


Zlatko Matić schrieb:

> several columns! You must use non-floating NUMERICAL field (long) as 
> primary
> key. The best is to use autoincrement (BIGSERIAL) field as primary key.
> So, add bigserial fields to all your tables, make them primary keys 
> and it
> will solve your problems with "#Deleted".

BIGserials are 8 byte integers.
Access can handle only 4 byte integer fields. The ODBC driver maps the 
bigints down to 4 bytes as default setting.
If Access can't actually use the additional 4 bytes why bloat the tables 
and add maintenance work to the driver?
It's all fine if your bigserials stay small enough.
Access "Long Integer" are signed and therefore range  from 
-2.147.483.648 to 2.147.483.647.
That matches "integer" in PG.









view thread (8+ messages)  latest in thread

Message-ID: <42E4F1B7.2000609@gmx.net>
Permalink:  ../42E4F1B7.2000609@gmx.net/
Also on:    postgresql.org/message-id/42E4F1B7.2000609@gmx.net

 · 

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: maps.on@gmx.net, zlatko.matic1@sb.t-com.hr
  Subject: Re: psqlodbc-08_00_0101 does not work with Ms Access
  In-Reply-To: <42E4F1B7.2000609@gmx.net>
  References: <Xns9697C5794A9A4blacklistdeganiusde@192.168.99.1> <003301c59076$6ca069c0$d9778353@zlatkovyfkpgz6> <42E4F1B7.2000609@gmx.net>

* 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