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 9ADB4D1B564 for ; Mon, 10 Nov 2003 18:34:00 +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 51650-10 for ; Mon, 10 Nov 2003 14:33:30 -0400 (AST) Received: from spirit.aldeiadigital.com.br (iplus-fac-225-213-137.xdsl-fixo.ctbcnetsuper.com.br [200.225.213.137]) by svr1.postgresql.org (Postfix) with ESMTP id 7D518D1B560 for ; Mon, 10 Nov 2003 14:33:20 -0400 (AST) Received: from webmail.ad2.com.br (localhost.localdomain [127.0.0.1]) by spirit.aldeiadigital.com.br (8.11.6/8.11.6) with SMTP id hAAIUg705226; Mon, 10 Nov 2003 16:30:42 -0200 Received: from 200.146.214.241 (SquirrelMail authenticated user alepaes) by webmail.ad2.com.br with HTTP; Mon, 10 Nov 2003 16:30:42 -0200 (BRST) Message-ID: <4861.200.146.214.241.1068489042.squirrel@webmail.ad2.com.br> Date: Mon, 10 Nov 2003 16:30:42 -0200 (BRST) Subject: Use Declare/Fetch and PG 7.4 From: "alexandre :: aldeia digital" To: pgsql-odbc@postgresql.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/71 X-Sequence-Number: 3473 Hi, When the ODBC´s "Use Declare/Fetch" option is enabled the automatic declaration of cursor great improve the performence for me. But testing this feature in PG 7.4, causes the following error: When the application makes a COMMIT, the cursors are automatically closed but the ODBC try to close this cursors defined inside transaction... In PG 7.3, this causes a WARNING only, but the behavior of this event is changed to ERROR in PG 7.4, aborting the application. Thank´s all Alexandre