Re: pg_basebackup and pg_switch_wal() - Mailing list pgsql-hackers

From Sergei Kornilov
Subject Re: pg_basebackup and pg_switch_wal()
Date
Msg-id 19617071753784130@qvxj4z7i6zm4ub2j.iva.yp-c.yandex.net
Whole thread Raw
In response to pg_basebackup and pg_switch_wal()  (Fabrice Chapuis <fabrice636861@gmail.com>)
Responses Re: pg_basebackup and pg_switch_wal()
List pgsql-hackers
Hello

> This is not the case also when the backup is made from the primary?

On primary it is handled in do_pg_backup_stop function (called from perform_base_backup after basebackup was
transferred),without explicitly called pg_switch_wal from pg_basebackup. pg_basebackup can change this behavior using
optionsto the BASE_BACKUP replication command.
 

regards, Sergei



pgsql-hackers by date:

Previous
From: Jim Jones
Date:
Subject: Re: Regression with large XML data input
Next
From: Fujii Masao
Date:
Subject: Re: Logical replication launcher did not automatically restart when got SIGKILL