projects
/
pgpool1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38e144
)
Modify pool_send_auth_ok so that it reports backend process id.
author
Tatsuo Ishii
<ishii at sraoss.co.jp>
Mon, 17 Apr 2006 03:59:25 +0000
(
03:59
+0000)
committer
Tatsuo Ishii
<ishii at sraoss.co.jp>
Mon, 17 Apr 2006 03:59:25 +0000
(
03:59
+0000)
This will help debugging pgpool.
pool_auth.c
patch
|
blob
|
blame
|
history
diff --git
a/pool_auth.c
b/pool_auth.c
index 9280edcebdbfe3d2e8a773a40624887655f9b56e..f9a68af340811584cc194441b07384cbb8368899 100644
(file)
--- a/
pool_auth.c
+++ b/
pool_auth.c
@@
-407,6
+407,9
@@
static POOL_STATUS pool_send_auth_ok(POOL_CONNECTION *frontend, int pid, int key
len = htonl(12);
pool_write(frontend, &len, sizeof(len));
}
+
+ pool_debug("pool_send_auth_ok: send pid %d to frontend", ntohl(pid));
+
pool_write(frontend, &pid, sizeof(pid));
if (pool_write_and_flush(frontend, &key, sizeof(key)) < 0)
{