Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B4A5C64FCDA for ; Thu, 17 Jul 2008 15:00:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 10890-10 for ; Thu, 17 Jul 2008 15:00:16 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by postgresql.org (Postfix) with ESMTP id A409B64FCEE for ; Thu, 17 Jul 2008 15:00:17 -0300 (ADT) Received: by wa-out-1112.google.com with SMTP id n4so13510wag.5 for ; Thu, 17 Jul 2008 11:00:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=hH1qTGG6HxHgxN/q1G2hpGB+bIdNs10yL5FSPp6ni9I=; b=IOEUQOz55qcigwB9Wc9q95HiXXiTTH5MZRi/epoxhJJFo+UH9f0+grQqsyxIebJj48 hXKqBtjxTuoSID+2dLc3CV+fTUR8nmdAy/esj0+hKZM/dI/bwMGb3R9GI43ulGNhyPq9 DyxSga+Bu4V28Q1ut9dw+3EiELhW1eIE36E20= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=f49CLQCOx8NSZa8fBrIktGhClfcvb4YgC5RpOgOvMeq066XMZQZHp7SyYvMosXTs9Y bl5OOMoJxXkqAgXAViCFbFtlDZiRwgCx/fex1CyPlOorApYawUibHhdnGjPOzN0lipsS AJp1Rl8FRywibMhWuNwj/6u2gmn9+dxYhBAoc= Received: by 10.115.19.16 with SMTP id w16mr1964638wai.102.1216317612858; Thu, 17 Jul 2008 11:00:12 -0700 (PDT) Received: by 10.114.130.17 with HTTP; Thu, 17 Jul 2008 11:00:12 -0700 (PDT) Message-ID: Date: Thu, 17 Jul 2008 12:00:12 -0600 From: "Scott Marlowe" To: "Kevin Duffy" Subject: Re: query optimization Cc: pgsql-general@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200807/639 X-Sequence-Number: 135218 What does the output of explain select sec.* ... have to say?