diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-08-13 13:53:41 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-08-13 13:53:41 +0900 |
commit | 66bde49d96a9ddacc49dcbdf1b47b5bd6e31ead5 (patch) | |
tree | 638a0aacba92dab819aa9add708297202211c4aa /src/backend/port/posix_sema.c | |
parent | 2d7d67cc74d0f59e76464bd5009bc74f1591018e (diff) | |
download | postgresql-66bde49d96a9ddacc49dcbdf1b47b5bd6e31ead5.tar.gz postgresql-66bde49d96a9ddacc49dcbdf1b47b5bd6e31ead5.zip |
Fix inconsistencies and typos in the tree, take 10
This addresses some issues with unnecessary code comments, fixes various
typos in docs and comments, and removes some orphaned structures and
definitions.
Author: Alexander Lakhin
Discussion: https://postgr.es/m/9aabc775-5494-b372-8bcb-4dfc0bd37c68@gmail.com
Diffstat (limited to 'src/backend/port/posix_sema.c')
-rw-r--r-- | src/backend/port/posix_sema.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/port/posix_sema.c b/src/backend/port/posix_sema.c index 5e77cb0c12e..3370adf35e2 100644 --- a/src/backend/port/posix_sema.c +++ b/src/backend/port/posix_sema.c @@ -189,7 +189,7 @@ PGSemaphoreShmemSize(int maxSemas) * maxSemas parameter is just used to size the arrays. For unnamed * semaphores, there is an array of PGSemaphoreData structs in shared memory. * For named semaphores, we keep a postmaster-local array of sem_t pointers, - * which we use for releasing the semphores when done. + * which we use for releasing the semaphores when done. * (This design minimizes the dependency of postmaster shutdown on the * contents of shared memory, which a failed backend might have clobbered. * We can't do much about the possibility of sem_destroy() crashing, but |