]> granicus.if.org Git - postgresql/commit
Fix parallel safety markings for pg_start_backup.
authorRobert Haas <rhaas@postgresql.org>
Mon, 2 May 2016 14:42:34 +0000 (10:42 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 2 May 2016 14:42:34 +0000 (10:42 -0400)
commit37d0c2cb1ab2d3da0cb9a6388450776fc31c16ee
treee88c4532f2f1f9485cc3b47af0c87fabce6cd2c9
parentf2f5e7e78ed95bb28d8bde783c46562e3498ac99
Fix parallel safety markings for pg_start_backup.

Commit 7117685461af50f50c03f43e6a622284c8d54694 made pg_start_backup
parallel-restricted rather than parallel-safe, because it now relies
on backend-private state that won't be synchronized with the parallel
worker.  However, it didn't update pg_proc.h.  Separately, Andreas
Karlsson observed that system_views.sql neglected to reiterate the
parallel-safety markings whe redefining various functions, including
this one; so add a PARALLEL RESTRICTED declaration there to match
the new value in pg_proc.h.
src/backend/catalog/system_views.sql
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h