diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-08-23 10:22:55 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-08-23 10:22:55 +0200 |
commit | 27a36f79b6d15cb2b267d16084007aa9d6917aec (patch) | |
tree | a6b231f0ce9b601f860bf4e861afcd9605878c6f /src | |
parent | d0e408313536d4d4a0fb4516f2596adbe06a0e60 (diff) | |
download | postgresql-27a36f79b6d15cb2b267d16084007aa9d6917aec.tar.gz postgresql-27a36f79b6d15cb2b267d16084007aa9d6917aec.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/storage/ipc/dsm_impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/ipc/dsm_impl.c b/src/backend/storage/ipc/dsm_impl.c index 6399fa2ad51..35fa910d6f2 100644 --- a/src/backend/storage/ipc/dsm_impl.c +++ b/src/backend/storage/ipc/dsm_impl.c @@ -137,7 +137,7 @@ int min_dynamic_shared_memory; * Arguments: * op: The operation to be performed. * handle: The handle of an existing object, or for DSM_OP_CREATE, the - * a new handle the caller wants created. + * identifier for the new handle the caller wants created. * request_size: For DSM_OP_CREATE, the requested size. Otherwise, 0. * impl_private: Private, implementation-specific data. Will be a pointer * to NULL for the first operation on a shared memory segment within this |