Re: problems with "Shared Memory and Semaphores" section of docs
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: "Imseih (AWS), Sami" <simseih@amazon.com>, Tom Lane <tgl@sss.pgh.pa.us>, Justin Pryzby <pryzby@telsasoft.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2024-06-06T19:51:42Z
Lists: pgsql-hackers
On Thu, Jun 06, 2024 at 03:31:53PM -0400, Robert Haas wrote: > I don't really like making this a GUC, but what's the other option? > It's reasonable for people to want to ask the server how many > resources it will need to start, and -C is the only tool we have for > that right now. So I feel like this is a fair thing to do. Yeah, this is how I feel, too. > I do think the name could use some more thought, though. > semaphores_required would end up being the same kind of thing as > shared_memory_size_in_huge_pages, but the names seem randomly > different. If semaphores_required is right here, why isn't > shared_memory_required used there? Seems more like we ought to call > this semaphores or os_semaphores or num_semaphores or > num_os_semaphores or something. I'm fine with any of your suggestions. If I _had_ to pick one, I'd probably choose num_os_semaphores because it's the most descriptive. -- nathan
Commits
-
Introduce num_os_semaphores GUC.
- 0dcaea569034 18.0 landed
-
Fix documentation for POSIX semaphores.
- da565f3a4a2e 16.4 landed
- bb8425491cb7 15.8 landed
- 8111e80c5d39 17.0 landed
- 78fe33742dcc 12.20 landed
- 771b1b00bc60 13.16 landed
- 030ea3961f26 14.13 landed
-
Fix documentation for System V semaphores.
- f1884f57570c 15.8 landed
- d0c11ea29846 14.13 landed
- 65b8c401af0a 16.4 landed
- 4ebe51a5fbc3 17.0 landed
- 1d5c5ae8e555 13.16 landed
- 09d7caad32d8 12.20 landed