[pgpool-committers: 2022] 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_1_STABLE

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

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



More information about the pgpool-committers mailing list