pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix volatility marking of timestamptz_trunc_zone.
Date: Sat, 12 Nov 2022 18:30:09 +0000
Message-ID: <E1otvGa-000now-Sy@gemulon.postgresql.org> (raw)

Fix volatility marking of timestamptz_trunc_zone.

It's safe to mark this as immutable, because it does not depend
on the timezone GUC setting.  Oversight in commit 600b04d6b.

(There's an argument that timezone definitions do change from
time to time, but we have not worried about that in marking
other timestamp-related functions; for example AT TIME ZONE
has always been considered immutable.  The situation is no
worse than our problems with time-varying locales, surely.)

Przemysław Sztoch

Discussion: https://postgr.es/m/eaa3fabe-50fc-bbe8-b096-ce62ddadab85@sztoch.pl

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/533e02e927c6e7fcc1a7b3121093d8f05b728279

Modified Files
--------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat  | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



Message-ID: <E1otvGa-000now-Sy@gemulon.postgresql.org>
Permalink:  ../E1otvGa-000now-Sy@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1otvGa-000now-Sy@gemulon.postgresql.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix volatility marking of timestamptz_trunc_zone.
  In-Reply-To: <E1otvGa-000now-Sy@gemulon.postgresql.org>
  References: <E1otvGa-000now-Sy@gemulon.postgresql.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