Skip to content

Commit 3eda9fc

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 a20a9f2 commit 3eda9fc

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 202107181
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
@@ -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', prorettype => 'timestamptz',
5847+
proname => 'date_bin', provolatile => 's', prorettype => 'timestamptz',
58485848
proargtypes => 'interval timestamptz timestamptz',
58495849
prosrc => 'timestamptz_bin' },
58505850

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