Re: Parallel safety of binary_upgrade_create_empty_extension - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Parallel safety of binary_upgrade_create_empty_extension
Date
Msg-id 23318.1522104812@sss.pgh.pa.us
Whole thread Raw
In response to Parallel safety of binary_upgrade_create_empty_extension  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
Thomas Munro <thomas.munro@enterprisedb.com> writes:
> Here's a single character patch to mark
> that function PARALLEL UNSAFE.

Ugh.  Clearly a bug.

> Obviously that'll affect only newly
> initdb'd clusters after this patch, but that's what people have in a
> pg_upgrade scenario.

We're a bit fortunate on that.  I wonder if there's some less
trial-and-error way of discovering that functions are or are not
parallel safe.

> This goes back to d89f06f0482 so I think it should probably be
> back-patched to 9.6 and 10.

Roger, will do.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Parallel safety of binary_upgrade_create_empty_extension
Next
From: Tom Lane
Date:
Subject: Re: Parallel safety of binary_upgrade_create_empty_extension