From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Olav Gjerde <olav(at)backupbay(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Timezone locale consistency for functional indexes |
Date: | 2017-06-12 13:36:31 |
Message-ID: | c2187d50-d999-dc25-b532-fb652b718093@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 06/12/2017 06:11 AM, Olav Gjerde wrote:
Oops sent previous post before actual reply.
> I figured out the issue, it was as simple as some developers used the
> default in Java's Hibernate which created the timestamp columns
> without time zone.
>
> Anyway I guess this is the correct approach that also take summer time
> into consideration? And using the immutable function wrapper is wrong?
>
By correct approach, you mean setting timezone to 'UTC'?
If by immutable function wrapper, you mean faking the immutability of a
function, then yes I would see that as wrong.
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2017-06-12 13:55:27 | Re: ERROR: unexpected chunk number 0 (expected 1) for toast value 76753264 in pg_toast_10920100 |
Previous Message | Adrian Klaver | 2017-06-12 13:33:17 | Re: Timezone locale consistency for functional indexes |