Does pg_ctl promote wait for pending WAL?

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Does pg_ctl promote wait for pending WAL?
Date: 2021-01-29 02:51:20
Message-ID: 20210129.115120.719391117505612933.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Does anybody know whether a standby server waits for pending WAL
records/files while promotion is requested? I assume that no data
update is performed on the primary server while promotion.

I imagine that a standby server stops to replay WAL and promotes as
soon as SIGUSR1 signal is received.

The motivation of this question behind is I want to have a complete
copy of the primary server using promote command.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paul Förster 2021-01-29 06:59:26 Re: Does pg_ctl promote wait for pending WAL?
Previous Message Michael Lewis 2021-01-28 18:18:26 Re: vacuum is time consuming