[pgpool-committers: 2024] 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_3_STABLE

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

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



More information about the pgpool-committers mailing list