pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Arnaud Lesauvage <arnaud.listes@codata.eu>
To: pgsql-odbc@postgresql.org
Subject: Re: Access Autonumber fields not detected in 9.0.0200
Date: Fri, 04 Mar 2011 10:18:42 +0100
Message-ID: <4D70AE72.9050503@codata.eu> (raw)
In-Reply-To: <4D70A790.6030108@tpf.co.jp>
References: <4D6F788E.2030803@codata.eu>
	<4D70A790.6030108@tpf.co.jp>

Hi Hiroshi

Le 4/03/2011 9:49, Hiroshi Inoue a écrit :
>> > We are linking PostgreSQL tables (server version 8.4) into Access 2000.
>> > I tried upgrading our psqlodbc driver from 8.03.0400 to 9.00.0200, but
>> > the autonumber fields (converted from serial fields) are not detected
> Didn't you drop the *not null* attribute from the fields?


No, it's still there. We didn't change anything but the psqlODBC driver.
I tried to switch back and force from 8.03.0200 to 9.00.0200, and the 
field is linked as autonumer in v8 and numeric in v9.

Here is part of the create table :

CREATE TABLE codata.prestations
(
   gid integer NOT NULL DEFAULT nextval('prestations_gid_seq'::regclass),
   [..., ]
CONSTRAINT prestations_pkey PRIMARY KEY (gid)
)

Regards,
Arnaud Lesauvage



view thread (6+ messages)  latest in thread

Message-ID: <4D70AE72.9050503@codata.eu>
Permalink:  ../4D70AE72.9050503@codata.eu/
Also on:    postgresql.org/message-id/4D70AE72.9050503@codata.eu

 · 

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: arnaud.listes@codata.eu
  Subject: Re: Access Autonumber fields not detected in 9.0.0200
  In-Reply-To: <4D70AE72.9050503@codata.eu>
  References: <4D6F788E.2030803@codata.eu> <4D70A790.6030108@tpf.co.jp> <4D70AE72.9050503@codata.eu>

* 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