Skip to content

Commit 0c6a6a0

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 fd54914 commit 0c6a6a0

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 202109021
56+
#define CATALOG_VERSION_NO 202109032
5757

5858
#endif

src/include/catalog/pg_proc.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5912,7 +5912,7 @@
59125912
proargtypes => 'interval timestamp timestamp', prosrc => 'timestamp_bin' },
59135913
{ oid => '6178',
59145914
descr => 'bin timestamp with time zone into specified interval',
5915-
proname => 'date_bin', provolatile => 's', prorettype => 'timestamptz',
5915+
proname => 'date_bin', prorettype => 'timestamptz',
59165916
proargtypes => 'interval timestamptz timestamptz',
59175917
prosrc => 'timestamptz_bin' },
59185918

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy