From fbfbdbcdf00fd17df26b76b049ca146e3a3b61d7 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Fri, 18 Feb 2011 16:50:55 +0200 Subject: [PATCH] console: send pgbouncer version as 'server_version' --- src/admin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin.c b/src/admin.c index e4bd43d..6f19379 100644 --- a/src/admin.c +++ b/src/admin.c @@ -1176,7 +1176,7 @@ void admin_setup(void) if (!msg) fatal("cannot create admin welcome"); pktbuf_write_AuthenticationOk(msg); - pktbuf_write_ParameterStatus(msg, "server_version", "8.0/bouncer"); + pktbuf_write_ParameterStatus(msg, "server_version", PACKAGE_VERSION "/bouncer"); pktbuf_write_ParameterStatus(msg, "client_encoding", "UNICODE"); pktbuf_write_ParameterStatus(msg, "server_encoding", "SQL_ASCII"); pktbuf_write_ParameterStatus(msg, "DateStyle", "ISO"); -- 2.40.0