X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 9A8AC9DC814 for ; Thu, 23 Mar 2006 09:51:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 32499-05 for ; Thu, 23 Mar 2006 09:51:38 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by postgresql.org (Postfix) with ESMTP id 263749DC87C for ; Thu, 23 Mar 2006 09:51:32 -0400 (AST) Received: by zproxy.gmail.com with SMTP id x3so396001nzd for ; Thu, 23 Mar 2006 05:51:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=AIvwZqg25wDyMk2kKqd+Le4g1/mp9ClLjNHwOGs+4EqB4hQuFiKejTTwE0yCIjU5JzX35TbIsKZbdZ9vVPOBfUZ0oBE8Hyle1osmBedjV5IqX9fgQYspvUCDiq2fl7cHuxx+4aNtF9lK83qgw/fWlt1NyDSMDukZNA0Q8//S/+Y= Received: by 10.65.84.8 with SMTP id m8mr1091383qbl; Thu, 23 Mar 2006 05:51:36 -0800 (PST) Received: from ?10.80.1.46? ( [85.221.54.254]) by mx.gmail.com with ESMTP id e14sm1352995qba.2006.03.23.05.51.30; Thu, 23 Mar 2006 05:51:30 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v746.2) Content-Transfer-Encoding: 7bit Message-Id: <190DF2EA-6592-412C-A48F-5E2C17AED1B4@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: pgsql-performance@postgresql.org From: Bendik Rognlien Johansen Subject: Problem with query, forget previous message Date: Thu, 23 Mar 2006 14:51:27 +0100 X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200603/472 X-Sequence-Number: 17909 Seems the problem was with the custom aggregate function not being able to handle thousands of rows.