Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 8A654475C5F for ; Thu, 19 Dec 2002 23:20:06 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 593C5475B33 for ; Thu, 19 Dec 2002 23:20:05 -0500 (EST) Received: (qmail 17435 invoked from network); 20 Dec 2002 04:20:09 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 20 Dec 2002 04:20:09 -0000 Received: from tpf.co.jp (3dgateway1 [126.0.1.60]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id NAA05217; Fri, 20 Dec 2002 13:20:09 +0900 (JST) Message-ID: <3E029AE7.37AA247D@tpf.co.jp> Date: Fri, 20 Dec 2002 13:21:59 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Han Cc: "pgsql-odbc@postgresql.org" Subject: Re: About server side prepare References: Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/95 X-Sequence-Number: 2484 Han wrote: > > Hiroshi Inoue, > > > > >Please check and try the new *Server side prepare* DSN option. > >Note that the option is effective only for 7.3 severs. > > > >regards, > >Hiroshi Inoue > > I'm using 7.3 server. > The SQLRowCount after server side prepared insert returns row count -1. But the row was actually inserted successfully! Good catch. Hmm this may be a serious problem because there's no way to know the row count when we use EXECUTE statements. regards, Hiroshi Inoue http://w2422.nsk.ne.jp/~inoue/