Re: gen_random_uuid() is immutable in Pg 13devel

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: gen_random_uuid() is immutable in Pg 13devel
Дата
Msg-id CAH2-Wz=uD_sqPMgyG7Lg2LgMFGA=mVeWcDse1RLrDBwKibjHqQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: gen_random_uuid() is immutable in Pg 13devel  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-bugs
On Tue, Feb 18, 2020 at 12:01 PM Alvaro Herrera
<alvherre@2ndquadrant.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



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: gen_random_uuid() is immutable in Pg 13devel
Следующее
От: Tom Lane
Дата:
Сообщение: Re: gen_random_uuid() is immutable in Pg 13devel