Re: pgsql: Fix WAL replay in presence of an incomplete record

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Fix WAL replay in presence of an incomplete record
Date: 2021-09-30 13:07:51
Message-ID: 202109301307.gq4txat6pb4p@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 2021-Sep-30, Michael Paquier wrote:

> Hi Alvaro,
>
> On Wed, Sep 29, 2021 at 02:40:29PM +0000, Alvaro Herrera wrote:
> > Fix WAL replay in presence of an incomplete record
> > [...]
> > src/test/recovery/t/026_overwrite_contrecord.pl | 207 ++++++++++++++++++++++++
> > src/test/recovery/t/idiosyncratic_copy | 20 +++
>
> The builfarm is saying that this test fails on Windows:
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=jacana&dt=2021-09-29%2020%3A00%3A01
> Sep 29 17:27:23 t/026_overwrite_contrecord..........FAILED--Further testing stopped: command "pg_basebackup -D...
> [...]
> pg_basebackup: error: connection to server at "127.0.0.1", port 55644 failed: FATAL: no pg_hba.conf entry for replication connection from host "127.0.0.1", user "pgrunner", no encryption

Thanks. We had already discussed this in the other thread and I opted
to call ->set_replication_conf instead:
https://www.postgresql.org/message-id/202109292127.7q66qhxhde67%40alvherre.pgsql

According to Andres, there's still going to be a failure for other
reasons, but let's see what happens.

--
Álvaro Herrera 39°49'30"S 73°17'W — https://www.EnterpriseDB.com/
<inflex> really, I see PHP as like a strange amalgamation of C, Perl, Shell
<crab> inflex: you know that "amalgam" means "mixture with mercury",
more or less, right?
<crab> i.e., "deadly poison"

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-09-30 18:16:18 pgsql: Treat ETIMEDOUT as indicating a non-recoverable connection failu
Previous Message Alvaro Herrera 2021-09-30 13:04:55 pgsql: Repair two portability oversights of new test

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Dolgov 2021-09-30 13:49:30 Re: pg_stat_statements and "IN" conditions
Previous Message Daniel Gustafsson 2021-09-30 12:17:29 Re: Support for NSS as a libpq TLS backend