[pgpool-committers: 2021] pgpool: Remove unnecessary call to pool_shmem_exit() which removes sema

Tatsuo Ishii ishii at postgresql.org
Mon Jun 9 21:46:04 JST 2014


Remove unnecessary call to pool_shmem_exit() which removes semaphore when it shouldn't.

exit_handler checks if the process is parent or not. This is
good. However, even if it is a child process, it calls
pool_shmem_exit() which removes semaphore and shmem when it should
not (it should be called only from parent process).

Per bug #102.

Branch
------
V3_2_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=51e296ccf193d7f6dd56cd605fb459bcc522255b

Modified Files
--------------
main.c |    1 -
1 file changed, 1 deletion(-)



More information about the pgpool-committers mailing list