[pgpool-committers: 4369] pgpool: Fix pgpool start message printed	multiple times.
    Tatsuo Ishii 
    ishii at postgresql.org
       
    Thu Nov 16 08:19:25 JST 2017
    
    
  
Fix pgpool start message printed multiple times.
When an exception occurs in the main loop, longjmp() gets called and
the variable "first" restored to the initial value. This make the
pgpool start message printed multiple times. This is harmless but
confusing. To fix that, add "volatile" qualifier so that the variable
is on the stack, rather than on a register.
Fix suggested by Muhammad Usama.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=d2b64fa2d81c1151cfda1235874dfd548382efb5
Modified Files
--------------
src/main/pgpool_main.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
    
    
More information about the pgpool-committers
mailing list