pgpool2.git / summary / log / commit / refs

commit    2c8601e81bea307c4e6cd290fd4699dc687ab332
Author:   Muhammad Usama <m.usama@gmail.com>
Date:     Thu Mar 26 11:44:58 2015 +0000

    Fix for segfault, When the pgpool-II child process is reused after
    previous session for the same child had exited because of some ERROR.
    Thanks to Tatsuo for catching this.


src/protocol/child.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/protocol/child.c b/src/protocol/child.c index d0a5dc33e..70891ab22 100644 --- a/src/protocol/child.c +++ b/src/protocol/child.c @@ -285,6 +285,7 @@ void do_child(int *fds) MemoryContextSwitchTo(ProcessLoopContext); MemoryContextResetAndDeleteChildren(ProcessLoopContext); + backend = NULL; idle = 1; /* pgpool stop request already sent? */ [parent: 46a3982714b1]