Re: pgsql: Fix WAL replay in presence of an incomplete record
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers@lists.postgresql.org
Date: 2021-09-30T13:07:51Z
Lists: 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"
Commits
-
Repair two portability oversights of new test
- e3731bac52cf 14.1 landed
- d03bca4d70c2 15.0 landed
-
Fix WAL replay in presence of an incomplete record
- ff9f111bce24 15.0 cited
-
Avoid creating archive status ".ready" files too early
- 515e3d84a0b5 15.0 cited