pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Brendan Jurd <direvus@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Constraint exclusion can't process simple constant expressions?
Date: Wed, 20 Apr 2011 19:18:23 -0700
Message-ID: <4DAF93EF.5070102@agliodbs.com> (raw)
In-Reply-To: <BANLkTimHBZzEwSR+YBXCLAopvKKuh=1i5A@mail.gmail.com>
References: <4DAF70FD.7000609@agliodbs.com>
	<26139.1303346929@sss.pgh.pa.us>
	<4DAF8F60.9050407@agliodbs.com>
	<BANLkTinY9G33LEsnLmWbkR0j3TcxX+HGug@mail.gmail.com>
	<4DAF92B3.60806@agliodbs.com>
	<BANLkTimHBZzEwSR+YBXCLAopvKKuh=1i5A@mail.gmail.com>


> You may be thinking of the STABLE volatility level.  It requires that
> the results of the function are the same for the same inputs, within
> the same transaction.

Right.  But CE will only pay attention to immutable values, not stable
ones, AFAICT.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



view thread (11+ messages)  latest in thread

Message-ID: <4DAF93EF.5070102@agliodbs.com>
Permalink:  ../4DAF93EF.5070102@agliodbs.com/
Also on:    postgresql.org/message-id/4DAF93EF.5070102@agliodbs.com

 · 

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: josh@agliodbs.com, direvus@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Constraint exclusion can't process simple constant expressions?
  In-Reply-To: <4DAF93EF.5070102@agliodbs.com>

* 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