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 20:34:01
Message-ID: CAH2-Wz=uD_sqPMgyG7Lg2LgMFGA=mVeWcDse1RLrDBwKibjHqQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Feb 18, 2020 at 12:01 PM Alvaro Herrera
<alvherre(at)2ndquadrant(dot)com> wrote:
> That makes me wonder what should be the default --- and should there
> even *be* a default in the first place? Maybe it's better to make
> everyone *think* about it every time rather than hoping we'll all
> remember, and frequently having it got wrong.

I'd say that there is a good argument for that. Though note that
opr_sanity.sql does a good job of detecting functions that are not
marked immutable, but need to be -- things like indexable operators,
pg_amproc entries, etc.

--
Peter Geoghegan

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michail Nikolaev 2020-02-18 22:39:39 Re: BUG #16108: Colorization to the output of command-line has unproperly behaviors at Windows platform
Previous Message Alvaro Herrera 2020-02-18 20:01:22 Re: gen_random_uuid() is immutable in Pg 13devel