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