Content-Length: 257770 | pFad | http://github.com/postgrespro/postgres/commit/27a36f79b6d15cb2b267d16084007aa9d6917aec

0F Fix wording in comment · postgrespro/postgres@27a36f7 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/27a36f79b6d15cb2b267d16084007aa9d6917aec

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy