Re: [HACKERS] Re: [BUGS] Problem in using pgbench's --connect(-C) and--rate=rate(-R rate) options together. - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: [HACKERS] Re: [BUGS] Problem in using pgbench's --connect(-C) and--rate=rate(-R rate) options together.
Date
Msg-id a2e5b895-49b0-a9ac-3048-92a0e754353d@sigaev.ru
Whole thread Raw
In response to [HACKERS] Re: [BUGS] Problem in using pgbench's --connect(-C) and --rate=rate(-Rrate) options together.  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: Re: [BUGS] Problem in using pgbench's --connect(-C)and --rate=rate(-R rate) options together.
List pgsql-hackers
Hi, the patch looks good except why do you remove initialization of is_throttled?
Suppose, just a typo?
 --- a/src/bin/pgbench/pgbench.c
+++ b/src/bin/pgbench/pgbench.c
@@ -1967,7 +1967,6 @@ top:        st->listen = false;        st->sleeping = false;        st->throttling = false;
-       st->is_throttled = false;        memset(st->prepared, 0, sizeof(st->prepared));    }


-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 



pgsql-hackers by date:

Previous
From: Jan Michálek
Date:
Subject: Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki
Next
From: Thomas Munro
Date:
Subject: Re: [HACKERS] ICU integration