Re: gen_random_uuid() is immutable in Pg 13devel

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: hubert depesz lubaczewski <depesz(at)depesz(dot)com>, pgsql-bugs mailing list <pgsql-bugs(at)postgresql(dot)org>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Subject: Re: gen_random_uuid() is immutable in Pg 13devel
Date: 2020-02-18 19:36:00
Message-ID: CAH2-WzkOm4A+65wuzJRqLuDiLKZeOSLWYC9_vQ02rGORnkj8fQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Feb 18, 2020 at 11:01 AM Alvaro Herrera
<alvherre(at)2ndquadrant(dot)com> wrote:
> > It looks that commit 5925e5549890416bcf588334d9d0bc99f8ad6c7f forgot to
> > mark the function as volatile. Not sure if it was intentional.
>
> It seems an oversight to me.

Maybe this happened because the default volatility for pg_proc.dat
entries is not 'volatile' -- it's 'immutable'.

--
Peter Geoghegan

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2020-02-18 20:01:22 Re: gen_random_uuid() is immutable in Pg 13devel
Previous Message Nagaraj Raj 2020-02-18 19:10:20 Re: DB running out of memory issues after upgrade