]> granicus.if.org Git - pgbouncer/commitdiff
SHOW DATABASES had wrong column count.
authorMarko Kreen <markokr@gmail.com>
Thu, 12 Mar 2009 17:35:56 +0000 (17:35 +0000)
committerMarko Kreen <markokr@gmail.com>
Thu, 12 Mar 2009 17:35:56 +0000 (17:35 +0000)
The new res_pool field was not mentioned in data rows.

src/admin.c

index a9fecb83875c7651104357d590354d1d5f5db3ac..2583e12d80b88dc0e724cc4763de3e3b85732e86 100644 (file)
@@ -427,7 +427,7 @@ static bool admin_show_databases(PgSocket *admin, const char *arg)
                        host = NULL;
 
                f_user = db->forced_user ? db->forced_user->name : NULL;
-               pktbuf_write_DataRow(buf, "ssissi",
+               pktbuf_write_DataRow(buf, "ssissii",
                                     db->name, host, db->addr.port,
                                     db->dbname, f_user,
                                     db->pool_size,