Mark advisory-lock functions as parallel restricted, not parallel unsafe.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.dat | modified | +21 −21 |
Discussion
- TopoSort() fix 27 messages · 2019-07-02 → 2019-07-31