Re: pg_config wrongly marked as not parallel safe? - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: pg_config wrongly marked as not parallel safe?
Date
Msg-id 20181127001600.GM3415@tamriel.snowman.net
Whole thread Raw
In response to Re: pg_config wrongly marked as not parallel safe?  (Andres Freund <andres@anarazel.de>)
Responses Re: pg_config wrongly marked as not parallel safe?
List pgsql-hackers
Greetings,

* Andres Freund (andres@anarazel.de) wrote:
> On 2018-11-26 19:04:46 -0500, Joe Conway wrote:
> > So the correct answer is probably to mark pg_config() stable, but it
> > still seems to be parallel safe to me.
>
> I don't think we should consider immutability to mean anything across
> major versions. What'd be helped by doing that? We'd have to rule out
> any behaviour change to any immutable function for that to make
> sense. Including making an immutable function not immutable anymore.

Then we have to require that all indexes built with immutable functions
be rebuilt when someone does a pg_upgrade from one major version to the
next.

Not to mention that the issue at hand isn't a major version upgrade
anyway, it's a minor version change...

Thanks!

Stephen

Attachment

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: IMMUTABLE and PARALLEL SAFE function markings
Next
From: Andres Freund
Date:
Subject: Re: IMMUTABLE and PARALLEL SAFE function markings