Re: pgsql: Add test case for an archive recovery corner case.

2022-02-14 Thread Heikki Linnakangas
On 14/02/2022 16:41, Tom Lane wrote: Heikki Linnakangas writes: Add test case for an archive recovery corner case. hoverfly seems not to like this: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hoverfly&dt=2022-02-14%2012%3A36%3A12 Hmm, only hoverfly - and even that succeeded on

Re: pgsql: Add test case for an archive recovery corner case.

2022-02-14 Thread Tom Lane
Heikki Linnakangas writes: > Add test case for an archive recovery corner case. hoverfly seems not to like this: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hoverfly&dt=2022-02-14%2012%3A36%3A12 # poll_query_until timed out executing this query: # SELECT '00020003' <

pgsql: Add test case for an archive recovery corner case.

2022-02-14 Thread Heikki Linnakangas
Add test case for an archive recovery corner case. While I was working on a patch to refactor things around xlog.c, I mixed up EndOfLogTLI and replayTLI at the end of recovery. As a result, if you recovered to a point with a lower-numbered timeline in a WAL segment that has a higher TLI in the fil