Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id D83416333E5 for ; Mon, 12 Apr 2010 15:42:12 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 57376-10 for ; Mon, 12 Apr 2010 18:42:02 +0000 (UTC) X-Greylist: delayed 00:18:01.483804 by SQLgrey-1.7.6 Received: from fizeau.zen.co.uk (queue01.mail.zen.net.uk [212.23.3.234]) by mail.postgresql.org (Postfix) with ESMTP id 6685A63267B for ; Mon, 12 Apr 2010 15:42:02 -0300 (ADT) Received: from [212.23.3.142] (helo=smarthost03.mail.zen.net.uk) by fizeau.zen.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1O1OIn-0000Ho-K2 for pgsql-odbc@postgresql.org; Mon, 12 Apr 2010 18:24:05 +0000 Received: from [88.96.211.230] (helo=neptune) by smarthost03.mail.zen.net.uk with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1O1OIg-0004nh-8b for pgsql-odbc@postgresql.org; Mon, 12 Apr 2010 18:23:58 +0000 Received: from smtp.monika.com ([217.36.212.120] helo=[192.168.1.78]) by neptune with esmtpa (Exim 4.69) (envelope-from ) id 1O1OJN-0005eu-GU for pgsql-odbc@postgresql.org; Mon, 12 Apr 2010 19:24:56 +0100 Message-ID: <4BC36597.7080501@opalsoftware.co.uk> Date: Mon, 12 Apr 2010 19:25:27 +0100 From: Mark Simonetti User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Deallocation speed Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-Smarthost03-IP: [88.96.211.230] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.001 tagged_above=-10 required=5 tests=BAYES_40=-0.001 X-Spam-Level: X-Archive-Number: 201004/10 X-Sequence-Number: 10234 Hi, I'm currently working on a c++ project that uses the psqlodbc driver. I have a query that returns over 26000 rows, and about 45 columns. When it comes to closing the statement using SQLFreeStmt(hstmt, SQL_CLOSE), the command seems to take about 70 seconds to return (on a 3.16ghz processor!). This just doesn't seem right. Is there something I may be missing? I thought I'd ask first before I posted more details incase it is something obvious. Thanks, Mark.