Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 651939FA5B5 for ; Mon, 13 Nov 2006 05:24:06 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 25162-02 for ; Mon, 13 Nov 2006 09:24:03 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id D6DED9FA4F0 for ; Mon, 13 Nov 2006 05:24:02 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 65F9C308EA; Mon, 13 Nov 2006 10:24:01 +0100 (MET) From: "Dmitry Samokhin" X-Newsgroups: pgsql.interfaces.odbc Subject: Re: Serial columns and ADO Date: Mon, 13 Nov 2006 12:24:09 +0300 Organization: MNPP Saturn Lines: 18 Message-ID: References: <4553CAC6.5020001@tpf.co.jp> <4554463D.6000301@tpf.co.jp> <45549258.9010802@tpf.co.jp> <4557B1C5.1030200@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; Original 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/38 X-Sequence-Number: 8420 >> Could you try to set the Extra Opts option to 0x2 ? > > With the current snapshot, please. > I was able to reproduce the behavior here. > > regards, > Hiroshi Inoue OK, now it works! Thanks for your attention. But with Extra Opts = 0x0 it still issues 'SELECT 0' and assignes 0 to an identity field. IMHO, if I don't want to read any server-assigned defaults for a newly inserted row, any field not set explicitly should contain NULL both before and after insert operation, not 0. Regards, Dmitry.