From a92b40773e2acf0c2cc6da0e03a8e221bcba1e9a Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Wed, 16 Jul 2008 14:26:47 +0000 Subject: [PATCH] Further memory conservation by making state bitfield :8. Does this need #ifdef __GCC__? --- include/bouncer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bouncer.h b/include/bouncer.h index 50a5b2e..e398a26 100644 --- a/include/bouncer.h +++ b/include/bouncer.h @@ -251,7 +251,7 @@ struct PgSocket { PgUser *auth_user; /* presented login, for client it may differ from pool->user */ - SocketState state; /* this also specifies socket location */ + SocketState state:8; /* this also specifies socket location */ bool ready:1; /* server: accepts new query */ bool close_needed:1; /* server: this socket must be closed ASAP */ -- 2.40.0