Re: IMMUTABLE and PARALLEL SAFE function markings

From: Vik Fearing <vik(dot)fearing(at)2ndquadrant(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>, Andres Freund <andres(at)anarazel(dot)de>
Cc: 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:27:41
Message-ID: d1d503da-32a8-e081-2ce9-a75167632863@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 27/11/2018 01:13, Stephen Frost wrote:
> Parallel safe functions should be marked as such. Immutable functions
> should be marked as such. We should not assume that one implies the
> other, nor should we operate as if they do.

Yes we should! Unless you can produce a case where an immutable
function is not parallel safe.
--
Vik Fearing +33 6 46 75 15 36
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2018-11-27 00:31:46 Re: IMMUTABLE and PARALLEL SAFE function markings
Previous Message Vik Fearing 2018-11-27 00:24:48 Re: IMMUTABLE and PARALLEL SAFE function markings