Re: Patch: shouldn't timezone(text, timestamp[tz]) be STABLE?

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Patch: shouldn't timezone(text, timestamp[tz]) be STABLE?
Date: 2021-09-01 09:19:47
Message-ID: CAJ7c6TPDAnEMXsSoBH_5cNP=kpgbmvU4MVfc7jWF8Nd-57NRbQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Tom,

> No, because date_trunc depends on the current timezone setting,
> or at least its stable variants do.

Once again, many thanks for your answers!

> I wasn't excited enough about it personally to change it, and I'm
> still not --- but if you want to, send a patch.

Here is the patch.

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
v3-0001-timezone_volatility.patch application/octet-stream 2.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christoph Berg 2021-09-01 09:21:58 Re: [PATCH] Native spinlock support on RISC-V
Previous Message Julien Rouhaud 2021-09-01 09:19:27 Re: Returning to Postgres community work