aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2019-04-23 02:41:58 +0900
committerFujii Masao <fujii@postgresql.org>2019-04-23 02:44:06 +0900
commit42b962176e7ab196a24e96877845331c255a978f (patch)
tree69291a06a6303bf8d7d7b185c83cab6d397ee559
parentfba5b1401de000d576ed17edbfd2e154867c1149 (diff)
downloadpostgresql-42b962176e7ab196a24e96877845331c255a978f.tar.gz
postgresql-42b962176e7ab196a24e96877845331c255a978f.zip
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
-rw-r--r--doc/src/sgml/func.sgml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 8fd1288dca9..4b79566b3c0 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -18533,6 +18533,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_wal_lsn_diff</function>).
</para>