Re: Stale description for pg_basebackup

2021-04-22 Thread Fujii Masao
On 2021/04/22 13:25, Kyotaro Horiguchi wrote: At Thu, 22 Apr 2021 13:06:50 +0900, Fujii Masao wrote in Either works for me. I didn't add "()" because I just used the same description as that in func.sgml. it may be useful to run pg_switch_wal on the primary in order to tr

Re: Stale description for pg_basebackup

2021-04-21 Thread Kyotaro Horiguchi
At Thu, 22 Apr 2021 13:06:50 +0900, Fujii Masao wrote in > Either works for me. I didn't add "()" because I just used the same > description > as that in func.sgml. > > it may be useful to run pg_switch_wal on the > primary in order to trigger an immediate segment switch.) .. >

Re: Stale description for pg_basebackup

2021-04-21 Thread Fujii Masao
On 2021/04/22 11:19, Kyotaro Horiguchi wrote: At Thu, 22 Apr 2021 10:56:10 +0900, Fujii Masao wrote in On 2021/04/22 9:25, Kyotaro Horiguchi wrote: What about the following description? --- When you are using -X none, if write activity on the primary is low, pg_basebacku

Re: Stale description for pg_basebackup

2021-04-21 Thread Kyotaro Horiguchi
At Thu, 22 Apr 2021 10:56:10 +0900, Fujii Masao wrote in > > > On 2021/04/22 9:25, Kyotaro Horiguchi wrote: > >> What about the following description? > >> > >> --- > >> When you are using -X none, if write activity on the primary is low, > >> pg_basebackup may need to wait a l

Re: Stale description for pg_basebackup

2021-04-21 Thread Fujii Masao
On 2021/04/22 9:25, Kyotaro Horiguchi wrote: What about the following description? --- When you are using -X none, if write activity on the primary is low, pg_basebackup may need to wait a long time for all WAL files required for the backup to be archived. It may be useful to r

Re: Stale description for pg_basebackup

2021-04-21 Thread Kyotaro Horiguchi
Ugg. I was confused. At Wed, 21 Apr 2021 23:06:56 +0900, Fujii Masao wrote in > > Hmm. Some words need to be qualified. Attached. > > + If you are using -X none, there is no guarantee > on > + the primary that all WAL files required for the backup are archived > at > + the end of backup

Re: Stale description for pg_basebackup

2021-04-21 Thread Fujii Masao
On 2021/04/21 11:09, Kyotaro Horiguchi wrote: At Wed, 21 Apr 2021 10:43:30 +0900 (JST), Kyotaro Horiguchi wrote in At Tue, 20 Apr 2021 13:32:35 +0900 (JST), Kyotaro Horiguchi wrote in Hello. It seems to me that there's a stale description in the documentation of pg_basebackup. I think

Re: Stale description for pg_basebackup

2021-04-20 Thread Kyotaro Horiguchi
At Wed, 21 Apr 2021 10:43:30 +0900 (JST), Kyotaro Horiguchi wrote in > At Tue, 20 Apr 2021 13:32:35 +0900 (JST), Kyotaro Horiguchi > wrote in > > Hello. > > > > It seems to me that there's a stale description in the documentation > > of pg_basebackup. > > > > https://www.postgresql.org/docs

Re: Stale description for pg_basebackup

2021-04-20 Thread Kyotaro Horiguchi
At Tue, 20 Apr 2021 13:32:35 +0900 (JST), Kyotaro Horiguchi wrote in > Hello. > > It seems to me that there's a stale description in the documentation > of pg_basebackup. > > https://www.postgresql.org/docs/13/app-pgbasebackup.html > > > Note that there are some limitations in taking a backup

Stale description for pg_basebackup

2021-04-19 Thread Kyotaro Horiguchi
Hello. It seems to me that there's a stale description in the documentation of pg_basebackup. https://www.postgresql.org/docs/13/app-pgbasebackup.html > Note that there are some limitations in taking a backup from a standby: ... > If you are using -X none, there is no guarantee that all WAL file