From: Marko Kreen Date: Fri, 7 Sep 2007 08:20:04 +0000 (+0000) Subject: remove track_parameters knob, no good usage scenario X-Git-Tag: pgbouncer_1_1~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab6ac0e3090ddfa1a8339441f358e3fc4bfb5909;p=pgbouncer remove track_parameters knob, no good usage scenario --- diff --git a/src/bouncer.h b/src/bouncer.h index 15207b5..a1ebd51 100644 --- a/src/bouncer.h +++ b/src/bouncer.h @@ -304,8 +304,6 @@ extern int cf_log_connections; extern int cf_log_disconnections; extern int cf_log_pooler_errors; -extern int cf_track_parameters; - extern ConfElem bouncer_params[]; diff --git a/src/main.c b/src/main.c index 263366e..f9800b7 100644 --- a/src/main.c +++ b/src/main.c @@ -102,8 +102,6 @@ int cf_log_connections = 1; int cf_log_disconnections = 1; int cf_log_pooler_errors = 1; -int cf_track_parameters = 1; - /* * config file description */ @@ -146,7 +144,6 @@ ConfElem bouncer_params[] = { {"log_connections", true, CF_INT, &cf_log_connections}, {"log_disconnections", true, CF_INT, &cf_log_disconnections}, {"log_pooler_errors", true, CF_INT, &cf_log_pooler_errors}, -{"track_parameters", true, CF_INT, &cf_track_parameters}, {NULL}, }; diff --git a/src/objects.c b/src/objects.c index c9331b9..0fdf8ed 100644 --- a/src/objects.c +++ b/src/objects.c @@ -537,7 +537,7 @@ bool find_server(PgSocket *client) Assert(!server || server->state == SV_IDLE); /* send var changes */ - if (server && cf_track_parameters) { + if (server) { res = varcache_apply(server, client, &varchange); if (!res) { disconnect_server(server, true, "var change failed");