Skip to content

Commit 2ed19a4

Browse files
committed
Set gen_random_uuid() to volatile
It was set to immutable. This was a mistake in the initial commit (5925e55). Reported-by: hubert depesz lubaczewski <depesz@depesz.com> Discussion: https://www.postgresql.org/message-id/flat/20200218185452.GA8710%40depesz.com
1 parent 5b618e1 commit 2ed19a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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 202002071
56+
#define CATALOG_VERSION_NO 202002191
5757

5858
#endif

src/include/catalog/pg_proc.dat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8421,8 +8421,8 @@
84218421
proname => 'uuid_hash_extended', prorettype => 'int8',
84228422
proargtypes => 'uuid int8', prosrc => 'uuid_hash_extended' },
84238423
{ oid => '3432', descr => 'generate random UUID',
8424-
proname => 'gen_random_uuid', proleakproof => 't', prorettype => 'uuid',
8425-
proargtypes => '', prosrc => 'gen_random_uuid' },
8424+
proname => 'gen_random_uuid', proleakproof => 't', provolatile => 'v',
8425+
prorettype => 'uuid', proargtypes => '', prosrc => 'gen_random_uuid' },
84268426

84278427
# pg_lsn
84288428
{ oid => '3229', descr => 'I/O',

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