Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit533e02e

Browse files
committed
Fix volatility marking of timestamptz_trunc_zone.
It's safe to mark this as immutable, because it does not dependon the timezone GUC setting. Oversight in commit600b04d.(There's an argument that timezone definitions do change fromtime to time, but we have not worried about that in markingother timestamp-related functions; for example AT TIME ZONEhas always been considered immutable. The situation is noworse than our problems with time-varying locales, surely.)Przemysław SztochDiscussion:https://postgr.es/m/eaa3fabe-50fc-bbe8-b096-ce62ddadab85@sztoch.pl
1 parent97c61f7 commit533e02e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/include/catalog/catversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@
5757
*/
5858

5959
/*yyyymmddN */
60-
#defineCATALOG_VERSION_NO202210261
60+
#defineCATALOG_VERSION_NO202211121
6161

6262
#endif

‎src/include/catalog/pg_proc.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2432,7 +2432,7 @@
24322432
proargtypes => 'text timestamptz', prosrc => 'timestamptz_trunc' },
24332433
{ oid => '1284',
24342434
descr => 'truncate timestamp with time zone to specified units in specified time zone',
2435-
proname => 'date_trunc',provolatile => 's',prorettype => 'timestamptz',
2435+
proname => 'date_trunc', prorettype => 'timestamptz',
24362436
proargtypes => 'text timestamptz text', prosrc => 'timestamptz_trunc_zone' },
24372437
{ oid => '1218', descr => 'truncate interval to specified units',
24382438
proname => 'date_trunc', prorettype => 'interval',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp