pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Chris Hoover <revoohc@gmail.com>
Cc: pgsql-admin@postgresql.org Admin <pgsql-admin@postgresql.org>
Subject: Re: 8.2.4 Won't Build 8.1 Functional Indexes
Date: Wed, 6 Jun 2007 21:52:37 -0400
Message-ID: <20070607015237.GA30257@alvh.no-ip.org> (raw)
In-Reply-To: <17138.1181173286@sss.pgh.pa.us>
References: <1d219a6f0706061112p355fc6cexb30a6b4b4bf187c3@mail.gmail.com>
	<20070606195459.GH11800@alvh.no-ip.org>
	<17138.1181173286@sss.pgh.pa.us>

Tom Lane escribió:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > You can't do this because to_date and other functions are not immutable.
> > 8.2 seems to be more picky about this -- the date conversions of
> > timestamptz columns are dependent on the current timezone.
> 
> The reason 8.2 is more picky is that the function is less immutable
> thanks to the addition of locale-dependent functionality:
> http://archives.postgresql.org/pgsql-committers/2006-11/msg00264.php

Ah.  It was a good try in any case I think :-P  The reason I confused the
issue is that I had been fiddling with date_trunc on a timestamptz
column and found that it didn't really work as I expected.  (I can't
recall exactly ATM but I think it was 8.1 anyway).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



view thread (6+ messages)  latest in thread

Message-ID: <20070607015237.GA30257@alvh.no-ip.org>
Permalink:  ../20070607015237.GA30257@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20070607015237.GA30257@alvh.no-ip.org

 · 

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-admin@postgresql.org
  Cc: alvherre@commandprompt.com, tgl@sss.pgh.pa.us, revoohc@gmail.com
  Subject: Re: 8.2.4 Won't Build 8.1 Functional Indexes
  In-Reply-To: <20070607015237.GA30257@alvh.no-ip.org>

* 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