Received: from localhost (uranus.hub.org [200.46.204.60]) by postgresql.org (Postfix) with ESMTP id B639C9FB2E0 for ; Fri, 10 Nov 2006 05:25:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.60]) (amavisd-new, port 10024) with ESMTP id 15545-05 for ; Fri, 10 Nov 2006 05:25:13 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 9EB3A9FB1B8 for ; Fri, 10 Nov 2006 05:25:12 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 8E5BE30E1A; Fri, 10 Nov 2006 10:25:11 +0100 (MET) From: "Dmitry Samokhin" X-Newsgroups: pgsql.interfaces.odbc Subject: Re: Serial columns and ADO Date: Fri, 10 Nov 2006 12:25:17 +0300 Organization: MNPP Saturn Lines: 30 Message-ID: References: <4553CAC6.5020001@tpf.co.jp> Reply-To: "Dmitry Samokhin" X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response To: pgsql-odbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50 X-Spam-Level: X-Archive-Number: 200611/22 X-Sequence-Number: 8404 Hiroshi-san, I've tried your snapshot (8.2.0201) and found no difference in behaviour. It sends 'SELECT 0' as before. Is it really corrected in the snapshot? Maybe I have incorrect driver settings. Which ones affect most of all? Dmitry. "Hiroshi Inoue" wrote in message news:4553CAC6.5020001@tpf.co.jp... > Dmitry Samokhin wrote: >> As far as I understand, since the driver exposes 'serial' columns as >> 'AutoNumber', ADO issues 'SELECT @@IDENTITY' to retreive the new >> generated values just after inserts. The driver, in turn, has to modify >> that query into 'SELECT currval(...)'. >> >> When working with PG tables from inside MS Access, it all works >> perfectly! But here is a small test suite that doesn't work as expected: > > Please try the snapshot dll at > http://www.geocities.jp/inocchichichi/psqlodbc/index.html > . > > regards, > Hiroshi Inoue > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster >