Skip to content

Commit 27a36f7

Browse files
Fix wording in comment
The comment for the DSM_OP_CREATE paramater read "the a new handle" which is confusing. Fix by rewording to indicate what the parameter means for DSM_OP_CREATE. Reported-by: Junwang Zhao <zhjwpku@gmail.com> Discussion: https://postgr.es/m/CAEG8a3J2bc197ym-M_ykOXb9ox2eNn-QNKNeoSAoHYSw2NCOnw@mail.gmail.com
1 parent d0e4083 commit 27a36f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/storage/ipc/dsm_impl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ int min_dynamic_shared_memory;
137137
* Arguments:
138138
* op: The operation to be performed.
139139
* handle: The handle of an existing object, or for DSM_OP_CREATE, the
140-
* a new handle the caller wants created.
140+
* identifier for the new handle the caller wants created.
141141
* request_size: For DSM_OP_CREATE, the requested size. Otherwise, 0.
142142
* impl_private: Private, implementation-specific data. Will be a pointer
143143
* to NULL for the first operation on a shared memory segment within this

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy