X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id F15C8D1B8A8 for ; Thu, 4 Sep 2003 23:49:21 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 64092-03 for ; Thu, 4 Sep 2003 20:48:53 -0300 (ADT) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by svr1.postgresql.org (Postfix) with SMTP id 499A4D1B89E for ; Thu, 4 Sep 2003 20:48:48 -0300 (ADT) Received: (qmail 7926 invoked from network); 4 Sep 2003 23:48:50 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 4 Sep 2003 23:48:50 -0000 Received: from tpf.co.jp ([126.0.1.68]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id IAA12612; Fri, 5 Sep 2003 08:48:48 +0900 (JST) Message-ID: <3F57CF97.1680E509@tpf.co.jp> Date: Fri, 05 Sep 2003 08:49:43 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: cgg007@yahoo.com Cc: Oliver Elphick , Bruce Momjian , pgsql-odbc@postgresql.org Subject: Re: ODBC Connection Pooling (Windows 2000 MDAC 2.7 patched, References: <20030904205421.58957.qmail@web13808.mail.yahoo.com> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/20 X-Sequence-Number: 3218 Chris Gamache wrote: > > That is my point exactly. That is why (windows?) connection > pooling breaks this model. It wouldn't be a problem if there > were a way to undefine currval() for all sequences... > It would be a command issued by the ODBC driver when the > connection is made (best), or by the connecting process as > its first order of business (do-able). How could the driver know if the connection is recycled ? SQL..Connect API function isn't called when the connection is recycled. regards, Hiroshi Inoue http://www.geocities.jp/inocchichichi/psqlodbc/