Re: gen_random_uuid() is immutable in Pg 13devel

hubert depesz lubaczewski <depesz@depesz.com>

From: hubert depesz lubaczewski <depesz@depesz.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-bugs mailing list <pgsql-bugs@postgresql.org>
Date: 2020-02-20T11:12:57Z
Lists: pgsql-bugs
On Wed, Feb 19, 2020 at 08:19:00PM +0100, Peter Eisentraut wrote:
> > It looks that commit 5925e5549890416bcf588334d9d0bc99f8ad6c7f forgot to
> > mark the function as volatile. Not sure if it was intentional.
> Fixed, thanks.
> It was indeed the result of confusion about the default value.

Thank you.

Mistakes happen, no big deal :)

Best regards,

depesz




Commits

  1. Set gen_random_uuid() to volatile

  2. Add gen_random_uuid function