postgres.git / summary / log / commit / refs
commit 5241f689995dd2bbd39c26c6fa150ca47e2f3601
Author: Fujii Masao <fujii@postgresql.org>
Date: Mon Apr 22 17:41:58 2019 +0000
First released in: 12.0, 9.6.13, 10.8, 11.3
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
doc/src/sgml/func.sgml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index b96049ae325..af5ec0c2e1e 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -17976,6 +17976,8 @@ SELECT set_config('log_statement_stats', 'off', false);
The functions shown in <xref
linkend="functions-admin-backup-table"> assist in making on-line backups.
These functions cannot be executed during recovery (except
+ non-exclusive <function>pg_start_backup</function>,
+ non-exclusive <function>pg_stop_backup</function>,
<function>pg_is_in_backup</function>, <function>pg_backup_start_time</function>
and <function>pg_xlog_location_diff</function>).
</para>
[parent: e356005d1c9c]