From: Fujii Masao Date: Mon, 22 Apr 2019 17:41:58 +0000 (+0900) Subject: Fix documentation of pg_start_backup and pg_stop_backup functions. X-Git-Tag: REL_12_BETA1~194 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b804c1837b55722369d30be707738c098a75cd7a;p=thirdparty%2Fpostgresql.git Fix documentation of pg_start_backup and pg_stop_backup functions. This commit adds the description that "non-exclusive" pg_start_backup and pg_stop_backup can be executed even during recovery. Previously it was wrongly documented that those functions are not allowed to be executed during recovery. Back-patch to 9.6 where non-exclusive backup API was added. Discussion: https://postgr.es/m/CAHGQGwEuAYrEX7Yhmf2MCrTK81HDkkg-JqsOUh8zw6+zYC5zzw@mail.gmail.com --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 6211ff39279..bae7df19023 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -19835,6 +19835,8 @@ SELECT set_config('log_statement_stats', 'off', false); The functions shown in assist in making on-line backups. These functions cannot be executed during recovery (except + non-exclusive pg_start_backup, + non-exclusive pg_stop_backup, pg_is_in_backup, pg_backup_start_time and pg_wal_lsn_diff).