1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-29 22:49:41 +03:00

Fix typos and grammar in code comments and docs

Author: Alexander Lakhin
Discussion: https://postgr.es/m/f7e514cf-2446-21f1-a5d2-8c089a6e2168@gmail.com
This commit is contained in:
Michael Paquier
2024-09-03 14:49:04 +09:00
parent c7cd2d6ed0
commit 4236825197
19 changed files with 24 additions and 24 deletions

View File

@@ -449,7 +449,7 @@ read_stream_begin_impl(int flags,
queue_size = max_pinned_buffers + 1;
/*
* Allocate the object, the buffers, the ios and per_data_data space in
* Allocate the object, the buffers, the ios and per_buffer_data space in
* one big chunk. Though we have queue_size buffers, we want to be able
* to assume that all the buffers for a single read are contiguous (i.e.
* don't wrap around halfway through), so we allow temporary overflows of

View File

@@ -396,7 +396,7 @@ LockManagerShmemInit(void)
/*
* Compute init/max size to request for lock hashtables. Note these
* calculations must agree with LockShmemSize!
* calculations must agree with LockManagerShmemSize!
*/
max_table_size = NLOCKENTS();
init_table_size = max_table_size / 2;