Minor correction in the doc for non-exclusive pg_start_backup and pg_stop_backup

Fujii Masao <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.documentation
Message-ID <CAHGQGwEuAYrEX7Yhmf2MCrTK81HDkkg-JqsOUh8zw6+zYC5zzw@mail.gmail.com>
Hi,

>     These functions cannot be executed during recovery (except
>     <function>pg_is_in_backup</function>, <function>pg_backup_start_time</function>
>     and <function>pg_wal_lsn_diff</function>).

Regarding backup control functions, the func.sgml describes as above.
But non-exclusive pg_start_backup and pg_stop_backup can also be
executed during recovery, and which should be described in the doc.
So I think that the attached patch should be pushed. Thought?

Probably the patch needs to be back-patched to 9.6 where non-exclusive
backup API was added.

Regards,

-- 
Fujii Masao
backup-doc.patch (application/octet-stream, 616 B)
*** a/doc/src/sgml/func.sgml
--- b/doc/src/sgml/func.sgml
***************
*** 19835,19840 **** SELECT set_config('log_statement_stats', 'off', false);
--- 19835,19842 ----
      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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.