aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Naylor <john.naylor@postgresql.org>2021-09-03 13:38:15 -0400
committerJohn Naylor <john.naylor@postgresql.org>2021-09-03 13:39:16 -0400
commit0c6a6a0ab7675e151a6e46d3ec0846bfce9e030a (patch)
tree7320422f8d718fb1be2333245d5261349b529bd0 /src
parentfd549145d5d9fba3367cbf7e3d4fc7cb3562feb0 (diff)
downloadpostgresql-0c6a6a0ab7675e151a6e46d3ec0846bfce9e030a.tar.gz
postgresql-0c6a6a0ab7675e151a6e46d3ec0846bfce9e030a.zip
Set the volatility of the timestamptz version of date_bin() back to immutable
543f36b43d 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
Diffstat (limited to 'src')
-rw-r--r--src/include/catalog/catversion.h2
-rw-r--r--src/include/catalog/pg_proc.dat2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h
index e0f90c9d8e4..3190d82a868 100644
--- a/src/include/catalog/catversion.h
+++ b/src/include/catalog/catversion.h
@@ -53,6 +53,6 @@
*/
/* yyyymmddN */
-#define CATALOG_VERSION_NO 202109021
+#define CATALOG_VERSION_NO 202109032
#endif
diff --git a/src/include/catalog/pg_proc.dat b/src/include/catalog/pg_proc.dat
index 1a750a49ca7..c07b2c6a556 100644
--- 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', provolatile => 's', prorettype => 'timestamptz',
+ proname => 'date_bin', prorettype => 'timestamptz',
proargtypes => 'interval timestamptz timestamptz',
prosrc => 'timestamptz_bin' },