| From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
|---|---|
| To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
| Subject: | Incorrect IPC advice for OpenBSD |
| Date: | 2018-05-16 20:45:30 |
| Message-ID: | 647B5C9A-2B43-4F02-821F-582020355E91@yesql.se |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
The OpenBSD paragraph in the "Shared Memory and Semaphores” section seems to
have been slightly incorrect since around 2002. The kern.ipc.shm_use_phys
sysctl setting has never existed in OpenBSD (it is in NetBSD and FreeBSD) and
SEMMAP is not a kernel configuration option. Further, there is no kernel
config for locking shared memory into RAM so the whole paragraph is best
removed it seems. I believe this is an artifact from FreeBSD and OpenBSD
sharing a paragraph, which was split into separate ones a long time ago.
The attached patch removes the above mentioned parts (confirmed with an OpenBSD
developer). This should probably be backpatched to all supported versions as
it’s been wrong for a long time.
cheers ./daniel
| Attachment | Content-Type | Size |
|---|---|---|
| openbsd_ipc.patch | application/octet-stream | 1.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pantelis Theodosiou | 2018-05-19 11:05:26 | Re: Changes in serial / sequence introduced in Postgresql 10 |
| Previous Message | PG Doc comments form | 2018-05-16 13:22:12 | Missing documentation for FETCH FIRST in chapter 7.6 |