[pgpool-committers: 4368] 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
------
V3_6_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=beade506551a79f8cd30799dbdc868f80e553db4
Modified Files
--------------
src/main/pgpool_main.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
    
    
More information about the pgpool-committers
mailing list