From 2ed19a488edb3980e054e6064e7028ccb652e5df Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 19 Feb 2020 20:09:32 +0100 Subject: [PATCH] Set gen_random_uuid() to volatile It was set to immutable. This was a mistake in the initial commit (5925e5549890416bcf588334d9d0bc99f8ad6c7f). Reported-by: hubert depesz lubaczewski Discussion: https://www.postgresql.org/message-id/flat/20200218185452.GA8710%40depesz.com --- src/include/catalog/catversion.h | 2 +- src/include/catalog/pg_proc.dat | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h index 571b6a2c23..2fe64b9d19 100644 --- a/src/include/catalog/catversion.h +++ b/src/include/catalog/catversion.h @@ -53,6 +53,6 @@ */ /* yyyymmddN */ -#define CATALOG_VERSION_NO 202002071 +#define CATALOG_VERSION_NO 202002191 #endif diff --git a/src/include/catalog/pg_proc.dat b/src/include/catalog/pg_proc.dat index 0345118cdb..eb3c1a88d1 100644 --- a/src/include/catalog/pg_proc.dat +++ b/src/include/catalog/pg_proc.dat @@ -8421,8 +8421,8 @@ proname => 'uuid_hash_extended', prorettype => 'int8', proargtypes => 'uuid int8', prosrc => 'uuid_hash_extended' }, { oid => '3432', descr => 'generate random UUID', - proname => 'gen_random_uuid', proleakproof => 't', prorettype => 'uuid', - proargtypes => '', prosrc => 'gen_random_uuid' }, + proname => 'gen_random_uuid', proleakproof => 't', provolatile => 'v', + prorettype => 'uuid', proargtypes => '', prosrc => 'gen_random_uuid' }, # pg_lsn { oid => '3229', descr => 'I/O',