Re: Small miscellaneous fixes - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Small miscellaneous fixes
Date
Msg-id Y3SKVVeDcGXtemVa@paquier.xyz
Whole thread Raw
In response to Re: Small miscellaneous fixes  (Ranier Vilela <ranier.vf@gmail.com>)
Responses Re: Small miscellaneous fixes
List pgsql-hackers
On Tue, Oct 04, 2022 at 08:23:16AM -0300, Ranier Vilela wrote:
> Both are correct, I missed the pqsignal calls.
>
> Attached patch to change this.

The change for pgbench is missing and this is only changing
pg_test_fsync.  Switching to sig_atomic_t would be fine on non-WIN32
as these are used in signal handlers, but are we sure that this is
fine on WIN32 for pg_test_fsync where we rely on a separate thread to
control the timing of the alarm?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Standardizing how pg_waldump presents recovery conflict XID cutoffs
Next
From: Michael Paquier
Date:
Subject: Re: [PoC] Let libpq reject unexpected authentication requests