Re: `pg_ctl init` crashes when run concurrently; semget(2) suspected

Gavin Panella <gavinpanella@gmail.com>

From: Gavin Panella <gavinpanella@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2025-08-12T07:32:43Z
Lists: pgsql-hackers
On Tue, 12 Aug 2025 at 01:41, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Cool.  I'll push the fix after our release freeze lifts.
>

Splendid, thank you!

Commits

  1. Don't treat EINVAL from semget() as a hard failure.

  2. Give up on running with NetBSD/OpenBSD's default semaphore settings.