Fix to use proper data type for shared memory size.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 14 Jan 2021 10:38:35 +0000 (19:38 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 14 Jan 2021 10:38:35 +0000 (19:38 +0900)
commitcff3e509c02caf41bd4919231e5263204544f7bf
tree1790c60bee7aeb212eb66c584bd9c98273e4132a
parent816f6ec87a965b983cec9ecd840d4e4d56758c6f
Fix to use proper data type for shared memory size.

pool_shared_memory_create() should use data type size_t for a variable
to store shared memory size. The data type used was int and it would
overflow if the size is big.
src/main/pgpool_main.c