Re: [PATCH] Fix TOCTOU races in recovery/t/020_archive_status.pl archive checks

From: Alexander Lakhin <exclusion(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>, Bryan Green <dbryan(dot)green(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Fix TOCTOU races in recovery/t/020_archive_status.pl archive checks
Date: 2026-08-11 05:00:00
Message-ID: eeb912a1-b79c-4fa8-9377-eb5a1cc9d434@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello Michael and Bryan,

11.08.2026 02:46, Michael Paquier wrote:
> This one depends on the community buildfarm for me, and it looks like
> I have lost access to the buildfarm database.. Adding Alexander
> Lakhin in CC, perhaps he has bumped into a failure on this one.
>
> I miss the highlights in the CI, now I have not seen this test show up
> recently there.
>
> @Alexander: Have you noticed some turbulence in the force regarding
> the recovery test 020_archive_status.pl?

No, I haven't. Here are all the failures happened on the buildfarm in two
years: [1], [2]. (I track all current failures with an automatic script, so
no test failure could go unnoticed.)

I can see only one very specific failure of 020_archive_status.pl, that is
not relevant to the subject, I guess: [3].

[1] https://wiki.postgresql.org/wiki/Known_Buildfarm_Test_Failures
[2] https://wiki.postgresql.org/wiki/Known_Buildfarm_Test_Failures_-_Archive
[3] https://www.postgresql.org/message-id/f9bebfe6-cee4-ed87-d4e6-29b5ca4be08d@gmail.com

Best regards,
Alexander

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message solai v 2026-08-11 05:10:01 Re: Reject unsupported COPY FROM targets before analyzing WHERE clause
Previous Message Chao Li 2026-08-11 04:55:18 Re: preventing shell injection