pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Constraint exclusion can't process simple constant expressions?
Date: Wed, 20 Apr 2011 18:58:56 -0700
Message-ID: <4DAF8F60.9050407@agliodbs.com> (raw)
In-Reply-To: <26139.1303346929@sss.pgh.pa.us>
References: <4DAF70FD.7000609@agliodbs.com>
	<26139.1303346929@sss.pgh.pa.us>

Tom,

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

Why not?  Given that the time zone will be the same for both the
timestamptz and the interval, how would the result not be immutable?

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



view thread (11+ messages)  latest in thread

Message-ID: <4DAF8F60.9050407@agliodbs.com>
Permalink:  ../4DAF8F60.9050407@agliodbs.com/
Also on:    postgresql.org/message-id/4DAF8F60.9050407@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, tgl@sss.pgh.pa.us
  Subject: Re: Constraint exclusion can't process simple constant expressions?
  In-Reply-To: <4DAF8F60.9050407@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox