pgpool2.git / summary / log / commit / refs
commit 842e8093fcef57a0aa54815d0de09319c3aef109
Author: Tatsuo Ishii <ishii at sraoss.co.jp>
Date: Mon Nov 10 00:58:24 2008 +0000
Enhance error message in do_command
pool_process_query.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pool_process_query.c b/pool_process_query.c
index af5a4e0bc..0fd151a91 100644
--- a/pool_process_query.c
+++ b/pool_process_query.c
@@ -4661,7 +4661,7 @@ retry_read_packet:
if (kind != 'Z')
{
- pool_error("do_command: backend does not return ReadyForQuery");
+ pool_error("do_command: backend returns %c while expecting ReadyForQuery", kind);
return POOL_END;
}
[parent: 50a001c01039]