aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-11-12 13:29:41 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2022-11-12 13:29:52 -0500
commit533e02e927c6e7fcc1a7b3121093d8f05b728279 (patch)
treefe7949cb2e26b3cf16bba7a79a6f2b371a5463c1 /src/backend/utils/adt/ruleutils.c
parent97c61f70d1b97bdfd20dcb1f2b1be42862ec88c2 (diff)
downloadpostgresql-533e02e927c6e7fcc1a7b3121093d8f05b728279.tar.gz
postgresql-533e02e927c6e7fcc1a7b3121093d8f05b728279.zip
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
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions