Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id D2D791337B6E for ; Fri, 4 Mar 2011 05:18:53 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 42173-07 for ; Fri, 4 Mar 2011 09:18:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from serveurmail01.codata.be (113.123.146.82.ipv4.evonet.be [82.146.123.113]) by mail.postgresql.org (Postfix) with ESMTP id B1D0F133616B for ; Fri, 4 Mar 2011 05:18:45 -0400 (AST) Received: from localhost (localhost.localdomain [127.0.0.1]) by serveurmail01.codata.be (Postfix) with ESMTP id 094F390040 for ; Fri, 4 Mar 2011 10:18:44 +0100 (CET) X-Virus-Scanned: amavisd-new at serveurmail01.codata.be Received: from serveurmail01.codata.be ([127.0.0.1]) by localhost (serveurmail01.codata.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bq1dxm0guX5q for ; Fri, 4 Mar 2011 10:18:43 +0100 (CET) Received: from [127.0.0.1] (38-179-112-217.fix.adsl.belcenter.be [217.112.179.38]) by serveurmail01.codata.be (Postfix) with ESMTPSA id 52A589003E for ; Fri, 4 Mar 2011 10:18:43 +0100 (CET) Message-ID: <4D70AE72.9050503@codata.eu> Date: Fri, 04 Mar 2011 10:18:42 +0100 From: Arnaud Lesauvage Reply-To: arnaud.listes@codata.eu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.14) Gecko/20110221 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: Access Autonumber fields not detected in 9.0.0200 References: <4D6F788E.2030803@codata.eu> <4D70A790.6030108@tpf.co.jp> In-Reply-To: <4D70A790.6030108@tpf.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.918 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RDNS_DYNAMIC=0.982 X-Spam-Level: X-Archive-Number: 201103/3 X-Sequence-Number: 10594 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