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