Re: Race condition in recovery? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Race condition in recovery?
Date
Msg-id 2348579.1623520499@sss.pgh.pa.us
Whole thread Raw
In response to Re: Race condition in recovery?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Race condition in recovery?
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 6/12/21 1:07 PM, Tom Lane wrote:
>> OK.  But it makes me itch a bit that this one wait-for-wal-to-be-
>> processed query looks different from all the other ones.

> I'm happy to bring the other two queries that look like this into line
> with this one if you like.

I see a lot more than two --- grepping for poll_query_until with
a test involving a LSN comparison finds a bunch.  Are we sure that
there are only three in which the LSN could be null?  How much
does it really matter if it is?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Failure in subscription test 004_sync.pl
Next
From: Yugo NAGATA
Date:
Subject: Re: Error on pgbench logs