Skip to content

Commit 543f36b

Browse files
committed
Mark the timestamptz variant of date_bin() as stable
Previously, it was immutable by lack of marking. This is not correct, since the time zone could change. Bump catversion Discussion: https://www.postgresql.org/message-id/CAFBsxsG2UHk8mOWL0tca%3D_cg%2B_oA5mVRNLhDF0TBw980iOg5NQ%40mail.gmail.com Backpatch to v14, when this function came in
1 parent bd3611d commit 543f36b

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 202108031
56+
#define CATALOG_VERSION_NO 202108311
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', prorettype => 'timestamptz',
5915+
proname => 'date_bin', provolatile => 's', 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