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

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

 



Josh Berkus <josh@xxxxxxxxxxxx> writes:
> I understand why now() is a problem for CE, but I'd expect that it could
> at least handle a simple expression with immutable outputs.

timestamptz + interval is not immutable --- in fact, the particular
example you give (ts + '1 day') is certainly dependent on timezone
setting.

			regards, tom lane

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