Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id B55E263265B for ; Thu, 2 Sep 2010 11:28:03 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 93119-02 for ; Thu, 2 Sep 2010 14:27:54 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id A741E632369 for ; Thu, 2 Sep 2010 11:27:56 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o82ERtX7022550; Thu, 2 Sep 2010 10:27:55 -0400 (EDT) To: Silvio Brandani cc: pgsql-admin@postgresql.org Subject: Re: out of memory error In-reply-to: <4C7FA8B7.4000702@tech.sdb.it> References: <288793.40690.qm@web39707.mail.mud.yahoo.com> <4C5BC43B.7050503@tech.sdb.it> <4C5BF885.9060105@tech.sdb.it> <4C7F9DA6.6080606@tech.sdb.it> <4C7FA8B7.4000702@tech.sdb.it> Comments: In-reply-to Silvio Brandani message dated "Thu, 02 Sep 2010 15:37:59 +0200" Date: Thu, 02 Sep 2010 10:27:54 -0400 Message-ID: <22549.1283437674@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201009/12 X-Sequence-Number: 35556 Silvio Brandani writes: >> Still problems of Out of Memory: >> the query is the following and if I run it from psql is working fine, >> but from application I get error : Is it really the *exact* same query both ways, or are you doing something like parameterizing the query in the application? regards, tom lane