Skip site navigation (1) Skip section navigation (2)

Re: Constraint exclusion can't process simple constant expressions?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Brendan Jurd <direvus(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Constraint exclusion can't process simple constant expressions?
Date: 2011-04-21 02:18:23
Message-ID: 4DAF93EF.5070102@agliodbs.com (view raw or flat)
Thread:
Lists: pgsql-performance
> 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

In response to

pgsql-performance by date

Next:From: Tom LaneDate: 2011-04-21 02:44:50
Subject: Re: Constraint exclusion can't process simple constant expressions?
Previous:From: Brendan JurdDate: 2011-04-21 02:17:11
Subject: Re: Constraint exclusion can't process simple constant expressions?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group