Re: PATCH: Make pg_stop_backup() archive wait optional
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: David Steele <david@pgmasters.net>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2017-02-28T00:38:16Z
Lists: pgsql-hackers
On Tue, Feb 28, 2017 at 9:25 AM, David Steele <david@pgmasters.net> wrote: > I also marked the pg_stop_* functions as parallel restricted, the same > as pg_start_backup(). Previously they were parallel safe which I don't > believe is accurate for the non-exclusive version at the very least, > since it is tied to a particular backend. Yeah, those should really be parallel restricted. For the exclusive version, having the function run in parallel would also lead to errors per the presence/lack of backup_label file. -- Michael
Commits
-
Expose waitforarchive option through pg_stop_backup()
- 017e4f2588a7 10.0 landed
-
Mark pg_start_backup and pg_stop_backup as parallel-restricted.
- 9fe3c644a731 10.0 landed