Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 0468B1337BC2 for ; Fri, 4 Mar 2011 11:35:36 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 29888-04 for ; Fri, 4 Mar 2011 15:35:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by mail.postgresql.org (Postfix) with SMTP id C3FA71337BDF for ; Fri, 4 Mar 2011 11:35:24 -0400 (AST) Received: (qmail 1343 invoked by uid 512); 4 Mar 2011 15:35:21 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 4 Mar 2011 15:35:21 -0000 Received: from unknown (HELO ?192.168.24.54?) (183.76.20.18) by sd.tpf.co.jp with SMTP; 4 Mar 2011 15:35:21 -0000 Message-ID: <4D7106B4.1030602@tpf.co.jp> Date: Sat, 05 Mar 2011 00:35:16 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: arnaud.listes@codata.eu CC: 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> <4D70AE72.9050503@codata.eu> In-Reply-To: <4D70AE72.9050503@codata.eu> 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=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/4 X-Sequence-Number: 10595 Hi Arnaud, Could you please try the drivers on testing for 9.0.0202 at http://www.ne.jp/asahi/inocchichichi/entrance/psqlodbc/ ? regards, Hiroshi Inoue (2011/03/04 18:18), Arnaud Lesauvage wrote: > 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