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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-performance by date

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