[pgpool-committers: 2023] 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_0_STABLE

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

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



More information about the pgpool-committers mailing list