| From: | shihao zhong <zhong950419(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org, Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
| Subject: | Re: Let's drop support for named POSIX semaphores |
| Date: | 2026-10-26 03:55:32 |
| Message-ID: | CAGRkXqTavaEkvWZkL5X2wsom9JzxJRfBbConsAYrx-uNqr5XFA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi Tom,
+1. Looks like the only platform that picked it by default was a very old
mac.
Two nits:
IPCProtection in posix_sema.c is now unused,
clang -Wunused-macros points at it. The fcntl.h and sys/stat.h
includes were only there for sem_open() and stat(), so they can go
too.
Also, runtime.sgml still says "POSIX semaphores are used on Linux and
FreeBSD while other platforms use System V."
Thanks,
Shihao
| Attachment | Content-Type | Size |
|---|---|---|
| nocfbot-0002-Remove-leftovers-of-named-POSIX-semaphore-support.patch | application/octet-stream | 2.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2026-10-26 04:13:13 | Re: Avoid truncated or zero-padded copies of replaced files in backups. |
| Previous Message | ZizhuanLiu X-MAN | 2026-10-26 03:55:25 | Re: Optimize mergejoinscansel() by avoiding redundant computations |