Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id EB0C41337B6E for ; Fri, 4 Mar 2011 05:01:01 -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 10258-01 for ; Fri, 4 Mar 2011 09:00:52 +0000 (UTC) X-Greylist: delayed 00:10:33.594034 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 40D621337BDF for ; Fri, 4 Mar 2011 05:00:49 -0400 (AST) Received: (qmail 26160 invoked by uid 512); 4 Mar 2011 08:49:32 -0000 Received: from unknown (HELO ?100.0.32.108?) (100.0.32.108) by sd2.tpf-fw-c.co.jp with SMTP; 4 Mar 2011 08:49:32 -0000 Message-ID: <4D70A790.6030108@tpf.co.jp> Date: Fri, 04 Mar 2011 17:49:20 +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: pgsql-odbc@postgresql.org Subject: Re: Access Autonumber fields not detected in 9.0.0200 References: <4D6F788E.2030803@codata.eu> In-Reply-To: <4D6F788E.2030803@codata.eu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/2 X-Sequence-Number: 10593 Hi Arnaud, (2011/03/03 20:16), Arnaud Lesauvage wrote: > Hi all ! > > 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? regards, Hiroshi Inoue > anymore. > The connection string is the same (i.e. there is still the "0x2" extra > option to detect serial as autonumber). > > I have pasted the debug log of the psqlodbc 9.00.0200 driver trying to > link the table (and failing to detect autonumber) here : > http://pastebin.com/aVRWFyJd > > If you need any other information, I can do some testing. > > Thanks a lot for your help ! > > Regards, > Arnaud Lesauvage