pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ben <bench@silentmedia.com>
Cc: Daniel Caune <daniel.caune@ubisoft.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: index usage
Date: Fri, 28 Jul 2006 17:06:55 -0400
Message-ID: <1236.1154120815@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.64.0607281359030.11400@GRD.cube42.tai.silentmedia.com>
References: <1E293D3FF63A3740B10AD5AAD88535D202B655F1@UBIMAIL1.ubisoft.org>
	<Pine.LNX.4.64.0607281359030.11400@GRD.cube42.tai.silentmedia.com>

Ben <bench@silentmedia.com> 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



view thread (34+ messages)  latest in thread

Message-ID: <1236.1154120815@sss.pgh.pa.us>
Permalink:  ../1236.1154120815@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1236.1154120815@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bench@silentmedia.com, daniel.caune@ubisoft.com
  Subject: Re: index usage
  In-Reply-To: <1236.1154120815@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox