Re: `pg_ctl init` crashes when run concurrently; semget(2) suspected - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: `pg_ctl init` crashes when run concurrently; semget(2) suspected
Date
Msg-id CA+hUKGJCFRcdappAa88s8Z3Cz9nt1JYo4pCLh6Z1VvArEPbRhw@mail.gmail.com
Whole thread Raw
In response to Re: `pg_ctl init` crashes when run concurrently; semget(2) suspected  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: `pg_ctl init` crashes when run concurrently; semget(2) suspected
List pgsql-hackers
On Mon, Aug 11, 2025 at 10:56 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> A bit more research later: OpenBSD behaves like NetBSD, while
> FreeBSD behaves like Linux.  So that's pretty inconclusive about
> what the aboriginal behavior was.  I also found that OpenIndiana
> behaves like Linux.

Out of curiosity, FreeBSD changed that in 2016:

https://github.com/freebsd/freebsd-src/commit/f00fb5457ebf5907055e420d803ac67fb098109e



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Improve LWLock tranche name visibility across backends
Next
From: Tom Lane
Date:
Subject: Re: `pg_ctl init` crashes when run concurrently; semget(2) suspected