Skip to content

Commit 67c33a1

Browse files
committed
Set the volatility of the timestamptz version of date_bin() back to immutable
543f36b was too hasty in thinking that the volatility of date_bin() had to match date_trunc(), since only the latter references session_timezone. Bump catversion Per feedback from Aleksander Alekseev Backpatch to v14, as the former commit was
1 parent 08b96a2 commit 67c33a1

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
@@ -53,6 +53,6 @@
5353
*/
5454

5555
/* yyyymmddN */
56-
#define CATALOG_VERSION_NO 202108311
56+
#define CATALOG_VERSION_NO 202109031
5757

5858
#endif

src/include/catalog/pg_proc.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5844,7 +5844,7 @@
58445844
proargtypes => 'interval timestamp timestamp', prosrc => 'timestamp_bin' },
58455845
{ oid => '6178',
58465846
descr => 'bin timestamp with time zone into specified interval',
5847-
proname => 'date_bin', provolatile => 's', prorettype => 'timestamptz',
5847+
proname => 'date_bin', prorettype => 'timestamptz',
58485848
proargtypes => 'interval timestamptz timestamptz',
58495849
prosrc => 'timestamptz_bin' },
58505850

0 commit comments

Comments
 (0)