Andres Freund <and...@anarazel.de> writes:
> Maybe we should consider switching those platforms to unnamed posix
> semaphores?

I already looked into that.  OpenBSD still doesn't have cross-process
posix semaphores, at least according to its man page.  NetBSD does,
but they consume an FD per sema, which is actually worse because
the default max-open-files-per-process is none too large either.

> But TBH, nobody uses openbsd and netbsd if performance matters even one
> iota. And considering a bunch of postgres changes to deal with idiotic default
> sysv limits doesn't feal like a sensible thing to do in 2024.

Yeah, I would not expend a lot of effort on this.  But two one-line
changes doesn't seem unreasonable.

                        regards, tom lane


Reply via email to