summaryrefslogtreecommitdiff
path: root/src/backend/port/sysv_shmem.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2019-06-08 10:12:26 -0700
committerNoah Misch <noah@leadboat.com>2019-06-08 10:12:26 -0700
commit31d250e049b4e3d51a635edaa2221c11815e40e7 (patch)
tree974dc2122d471fa09c16ad0658d3353cc8b644e6 /src/backend/port/sysv_shmem.c
parent92c4abc73693690ce9ff13ede160f0dcb0a2de7b (diff)
downloadpostgresql-31d250e049b4e3d51a635edaa2221c11815e40e7.tar.gz
Update stale comments, and fix comment typos.
Diffstat (limited to 'src/backend/port/sysv_shmem.c')
-rw-r--r--src/backend/port/sysv_shmem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/port/sysv_shmem.c b/src/backend/port/sysv_shmem.c
index 4a86fbc1c1..968506dd51 100644
--- a/src/backend/port/sysv_shmem.c
+++ b/src/backend/port/sysv_shmem.c
@@ -390,9 +390,9 @@ PGSharedMemoryAttach(IpcMemoryId shmId,
/*
* Try to attach to the segment and see if it matches our data directory.
- * This avoids shmid-conflict problems on machines that are running
- * several postmasters under the same userid and port number. (That would
- * not ordinarily happen in production, but it can happen during parallel
+ * This avoids key-conflict problems on machines that are running several
+ * postmasters under the same userid and port number. (That would not
+ * ordinarily happen in production, but it can happen during parallel
* testing. Since our test setups don't open any TCP ports on Unix, such
* cases don't conflict otherwise.)
*/