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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user