Re: PATCH: Make pg_stop_backup() archive wait optional
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Stephen Frost <sfrost@snowman.net>, Fujii Masao <masao.fujii@gmail.com>
Cc: David Steele <david@pgmasters.net>,
"Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>,
Michael Paquier <michael.paquier@gmail.com>,
Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2017-03-22T20:42:22Z
Lists: pgsql-hackers
On 3/22/17 15:14, Stephen Frost wrote: >> -SELECT * FROM pg_stop_backup(false); >> +SELECT * FROM pg_stop_backup(false [, true ]); >> >> I think that it's better to get rid of "[" and "]" from the above because >> IMO this should be the command example that users actually can run. > Using the '[' and ']' are how all of the optional arguments are > specified in the documentation, see things like current_setting() in our > existing documentation: In the synopsis, but not in concrete examples. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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