pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix checking for recovery state in WaitForLSN()
Date: Fri, 07 Nov 2025 21:49:11 +0000
Message-ID: <E1vHUKV-005Vi4-1w@gemulon.postgresql.org> (raw)

Fix checking for recovery state in WaitForLSN()

We only need to do it for WAIT_LSN_TYPE_REPLAY.  WAIT_LSN_TYPE_FLUSH can work
for both primary and follower.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7742f99a02ed1679eb6baeb35491ea3cf8a3a36e

Modified Files
--------------
src/backend/access/transam/xlogwait.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1vHUKV-005Vi4-1w@gemulon.postgresql.org>
Permalink:  ../E1vHUKV-005Vi4-1w@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vHUKV-005Vi4-1w@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix checking for recovery state in WaitForLSN()
  In-Reply-To: <E1vHUKV-005Vi4-1w@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox