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

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

 



Claudio,

> Am I missing something?

Yes, prepared statements.

This whole issue arises because CE is implemented purely on the planner
level.  The executor can treat Immutable and Stable functions as the
same; the planner cannot, AFAIK.

-- 
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