diff options
| author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2009-08-24 08:56:56 +0000 |
|---|---|---|
| committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2009-08-24 08:56:56 +0000 |
| commit | d97eea7b12488e0dcce06b5461a0bf3953e8648c (patch) | |
| tree | 1069013f6d47bcbc0f5f4e0208c1f6b4b5a9f8c5 /databases/pgpool-II-23/files/patch-recovery.c | |
| parent | - Update to 1.30 (diff) | |
- Upgrade to 2.2.4.
- Add my scripts in $FILES dir, but not installed (no warranty).
Diffstat (limited to 'databases/pgpool-II-23/files/patch-recovery.c')
| -rw-r--r-- | databases/pgpool-II-23/files/patch-recovery.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/databases/pgpool-II-23/files/patch-recovery.c b/databases/pgpool-II-23/files/patch-recovery.c new file mode 100644 index 000000000000..a6ac0c6bceca --- /dev/null +++ b/databases/pgpool-II-23/files/patch-recovery.c @@ -0,0 +1,19 @@ +--- recovery.c.orig 2009-08-14 15:15:08.000000000 +0900 ++++ recovery.c 2009-08-14 18:00:38.000000000 +0900 +@@ -91,7 +91,7 @@ + + pool_log("1st stage is done"); + +- pool_log("starting 2nd stage"); ++ pool_log("starting 2nd stage. waiting connections from clients to be closed"); + + /* 2nd stage */ + *InRecovery = 1; +@@ -332,6 +332,6 @@ + sleep(3); + } while (i++ < WAIT_RETRY_COUNT); + +- pool_error("wait_connection_closed: existing connections did not close in %d sec.", pool_config->recovery_timeout); ++ pool_error("wait_connection_closed: existing connections (%d) did not close in %d sec.", Req_info->conn_counter, pool_config->recovery_timeout); + return 1; + } |
