Re: IMMUTABLE and PARALLEL SAFE function markings

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Vik Fearing <vik(dot)fearing(at)2ndquadrant(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Gajus Kuizinas <gajus(at)gajus(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: IMMUTABLE and PARALLEL SAFE function markings
Date: 2018-11-27 00:10:24
Message-ID: 20181127001024.GJ3415@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greetings,

* Vik Fearing (vik(dot)fearing(at)2ndquadrant(dot)com) wrote:
> On 27/11/2018 01:05, Stephen Frost wrote:
> > That said, I do *not* think we should make any assumptions here- users
> > incorrectly mark things all the time but we shouldn't encourage that and
> > we shouldn't assume that functions marked as immutable are parallel
> > safe.
>
> Does that mean we also shouldn't assume that functions marked as
> immutable are index safe?

We've got an index safe flag?

That's news to me.

Thanks!

Stephen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vik Fearing 2018-11-27 00:11:50 Re: IMMUTABLE and PARALLEL SAFE function markings
Previous Message Andres Freund 2018-11-27 00:09:00 Re: IMMUTABLE and PARALLEL SAFE function markings