X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D99FFD1B4F7 for ; Sun, 9 Nov 2003 23:50:59 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 76787-02 for ; Sun, 9 Nov 2003 19:50:30 -0400 (AST) Received: from sd.tpf.co.jp (unknown [210.161.239.34]) by svr1.postgresql.org (Postfix) with SMTP id EE4ACD1B4E6 for ; Sun, 9 Nov 2003 19:50:25 -0400 (AST) Received: (qmail 30719 invoked from network); 10 Nov 2003 08:50:15 +0900 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 10 Nov 2003 08:50:15 +0900 Received: from tpf.co.jp ([126.0.1.69]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id IAA13461; Mon, 10 Nov 2003 08:50:14 +0900 (JST) Message-ID: <3FAED32D.9C6ADB7C@tpf.co.jp> Date: Mon, 10 Nov 2003 08:52:13 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Markus Wollny Cc: pgsql-odbc@postgresql.org Subject: Re: S1010 function sequence error after ODBC-driver-upgrade References: <2266D0630E43BB4290742247C891057502B9D31B@dozer.computec.de> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/65 X-Sequence-Number: 3467 Could you send me the Mylog debug output ? regards, Hiroshi Inoue http://www.geocities.jp/inocchichichi/psqlodbc/ Markus Wollny wrote: > > Hello! > > We upgraded the PostgreSQL-ODBC-drivers on our webservers last friday; > installed version before the upgrade was 7.3.100, I upgraded to 7.3.200. > We've got PostgreSQL 7.3.4 running on linux-servers; the ODBC-driver ist > used on Windows 2000 Server, running IIS or Apache 2.0 and ColdFusion > 5.0. > > Since upgrading, we very often get ODBC Error Code = S1010 (Function > sequence error). This happens on some (but not all) tables when > attempting to do several UPDATEs or DELETEs in one script. The error is > persistent - it doesn't help to restart the server; VACUUM ANALYZE on > the same table works flawlessly, so does doing the exact same queries > via PGAdminII (not so very recent version and thus older ODBC-drivers, > too). > > When creating a new table, inserting a dozen rows or so and then trying > updates or deletes on this table in a ColdFusion-script, everything > works just fine, so we cannot willingly reproduce the symptoms on any > more than the affected production-tables. > > I read up on the subject of S1010 a bit and I found suggestions that one > reason might be "SQLExecute" being called before "SQLPrepare". I > installed the new PostgreSQL-ODBC driver via control panel and > reinstalled 7.3.100 on one server - but that didn't help at all. I don't > know if uninstalling an reinstalling the old version does provide pro a > "clean" rollback of all ODBC-driver-components to the previous version - > so I'm not sure, if not some remains of the 7.3.200-install do still > cause this problem. > > I am absolutely sure that we didn't change anything else but this > ODBC-driver-update on our webservers since before the errors occured > until first occurrence - no Windows Update, no ColdFusion-Patches, no > changing of any settings. > > Could you give me some hints as to where and what to check next and > maybe how to assure a complete removal of any system-changes the update > might have caused? > > Thank you very much!