pgsql: Mark advisory-lock functions as parallel restricted,not paralle - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Mark advisory-lock functions as parallel restricted,not paralle
Date
Msg-id E1htDLI-00088E-Tj@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Mark advisory-lock functions as parallel restricted, not parallel unsafe.

There seems no good reason not to allow a parallel leader to execute
these functions.  (The workers still can't, though.  Although the code
would work, any such lock would go away at worker exit, which is not
the documented behavior of advisory locks.)

Discussion: https://postgr.es/m/11847.1564496844@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4886da8327507dddd830786b0c7aaa9cfc480b4b

Modified Files
--------------
src/include/catalog/catversion.h |  2 +-
src/include/catalog/pg_proc.dat  | 42 ++++++++++++++++++++--------------------
2 files changed, 22 insertions(+), 22 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Add error codes to some corruption log messages
Next
From: Peter Geoghegan
Date:
Subject: pgsql: Add sort support routine for the inet data type.