pgpool2.git / summary / log / commit / refs

commit    8fdaf3bc58439db88377987cf8b01ea74be99835
Author:   Tatsuo Ishii <ishii at sraoss.co.jp>
Date:     Tue Sep 13 12:38:20 2011 +0000

    Enhance error message.


pool_connection_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool_connection_pool.c b/pool_connection_pool.c index fc1965b94..b0035ca10 100644 --- a/pool_connection_pool.c +++ b/pool_connection_pool.c @@ -489,7 +489,7 @@ int connect_unix_domain_socket_by_port(int port, char *socket_dir, bool retry) if ((errno == EINTR && retry) || errno == EAGAIN) continue; - pool_error("connect_unix_domain_socket_by_port: connect() failed: %s", strerror(errno)); + pool_error("connect_unix_domain_socket_by_port: connect() failed to %s: %s", addr.sun_path, strerror(errno)); close(fd); return -1; } [parent: 28480777b4ca]