git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bd3611d)
Mark the timestamptz variant of date_bin() as stable
2021年8月31日 18:15:22 +0000 (14:15 -0400)
2021年8月31日 19:18:26 +0000 (15:18 -0400)
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


diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h
index 876583adaa65c16c094f6bbe942f0909d993cd60..21b6648f5ad8da24a7aa9f0ecf3b8eb299fb1249 100644 (file)
--- a/src/include/catalog/catversion.h
+++ b/src/include/catalog/catversion.h
@@ -53,6 +53,6 @@
*/
/* yyyymmddN */
-#define CATALOG_VERSION_NO 202108031
+#define CATALOG_VERSION_NO 202108311
#endif
diff --git a/src/include/catalog/pg_proc.dat b/src/include/catalog/pg_proc.dat
index b603700ed9dadc101b17201e34a4737d0dc48245..4f170eaf48c2bb6f974461fbfa4d0a7410cd43b4 100644 (file)
--- a/src/include/catalog/pg_proc.dat
+++ b/src/include/catalog/pg_proc.dat
@@ -5912,7 +5912,7 @@
proargtypes => 'interval timestamp timestamp', prosrc => 'timestamp_bin' },
{ oid => '6178',
descr => 'bin timestamp with time zone into specified interval',
- proname => 'date_bin', prorettype => 'timestamptz',
+ proname => 'date_bin', provolatile => 's', prorettype => 'timestamptz',
proargtypes => 'interval timestamptz timestamptz',
prosrc => 'timestamptz_bin' },
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /