Re: Postmaster crashes on SIGHUP when oauth_validator_libraries holds only whitespace - Mailing list pgsql-bugs

From Jacob Champion
Subject Re: Postmaster crashes on SIGHUP when oauth_validator_libraries holds only whitespace
Date
Msg-id CAOYmi+=fy2Ou-VLJipsngUspODnyqNOpb9hvYmmdyGRF-6spJA@mail.gmail.com
Whole thread
In response to Re: Postmaster crashes on SIGHUP when oauth_validator_libraries holds only whitespace  (Alexander Lakhin <exclusion@gmail.com>)
List pgsql-bugs
On Wed, Sep 30, 2026 at 11:00 AM Alexander Lakhin <exclusion@gmail.com> wrote:
> The test addition coined with bca67e5a3 is not very robust,
> unfortunately. Buildfarm animal serinus found a way to break it [1]
> as below:

Bleh. These SIGHUP/log file races are really annoying, and I'm going
to need to trawl the list to see if anyone's proposed a more general
solution. (I keep thinking about assigning an xid as a generation
number to an in-memory configuration...)

For now, is the following test giving us much, or can we remove it?
We've already done the wait_for_log(). If that "sequence point" turns
out to be inadequate for some other reason, we'd have to fix it
anyway.

> is($bgconn->query_safe('SHOW oauth_validator_libraries'),
>     'validator', 'oauth_validator_libraries restored');

Thanks,
--Jacob



pgsql-bugs by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: Postmaster crashes on SIGHUP when oauth_validator_libraries holds only whitespace
Next
From: Daniel Gustafsson
Date:
Subject: Re: autovacuum: automatically propagate updated parameters