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 00EDB9DC833 for ; Wed, 11 Jan 2006 13:06:53 -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 19519-03 for ; Wed, 11 Jan 2006 13:06:52 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id A34B99DC803 for ; Wed, 11 Jan 2006 13:06:51 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id k0BH6jOd008691 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Jan 2006 10:06:48 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id k0BH6jSE058097; Wed, 11 Jan 2006 10:06:45 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id k0BH6jnN058096; Wed, 11 Jan 2006 10:06:45 -0700 (MST) (envelope-from mfuhr) Date: Wed, 11 Jan 2006 10:06:45 -0700 From: Michael Fuhr To: Robert Creager Cc: PGPerformance Subject: Re: Index isn't used during a join. Message-ID: <20060111170645.GA58041@winnie.fuhr.org> References: <20060109212338.6420af12@thunder.logicalchaos.org> <20060110055818.GA55076@winnie.fuhr.org> <20060110221055.053596ab@thunder.logicalchaos.org> <20060111075655.GA51292@winnie.fuhr.org> <20060111072659.7c1772ad@thunder.logicalchaos.org> <20060111080237.66040a61@thunder.logicalchaos.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060111080237.66040a61@thunder.logicalchaos.org> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.088 required=5 tests=[AWL=0.088] X-Spam-Score: 0.088 X-Spam-Level: X-Archive-Number: 200601/117 X-Sequence-Number: 16595 On Wed, Jan 11, 2006 at 08:02:37AM -0700, Robert Creager wrote: > The query is wrong as stated, as it won't work when the interval > crosses a year boundary, but it's a stop gap for now. Yeah, I realized that shortly after I posted the original and posted a correction. http://archives.postgresql.org/pgsql-performance/2006-01/msg00104.php -- Michael Fuhr