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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Emphasis on "always".  If the result of the function, given the same
> argument values, can be different after a SET, then it doesn't qualify
> for immutability.  At least, that's my understanding.

Hmmmm.  But within the context of the query plan itself, the results of
that expression are going to be constant.  That is, for a given query
execution, it's always going to be the same comparison.

So this goes back to my original assertion that CE can't be fixed ...

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

-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux