X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 1B2B39FB270 for ; Fri, 28 Jul 2006 18:07:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 88795-06 for ; Fri, 28 Jul 2006 18:07:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 365CD9FB277 for ; Fri, 28 Jul 2006 18:06:57 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k6SL6tB3001237; Fri, 28 Jul 2006 17:06:55 -0400 (EDT) To: Ben cc: Daniel Caune , pgsql-performance@postgresql.org Subject: Re: index usage In-reply-to: References: <1E293D3FF63A3740B10AD5AAD88535D202B655F1@UBIMAIL1.ubisoft.org> Comments: In-reply-to Ben message dated "Fri, 28 Jul 2006 13:59:57 -0700" Date: Fri, 28 Jul 2006 17:06:55 -0400 Message-ID: <1236.1154120815@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.055 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200607/275 X-Sequence-Number: 20135 Ben writes: > It's volatile, but it will always return an integer. If it's volatile then it can't be used for an index condition. regards, tom lane