Re: Fix around conn_duration in pgbench

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Fix around conn_duration in pgbench
Дата
Msg-id 633102a8-7118-45b1-306a-628cec94f199@oss.nttdata.com
обсуждение исходный текст
Ответ на Re: Fix around conn_duration in pgbench  (Yugo NAGATA <nagata@sraoss.co.jp>)
Ответы Re: Fix around conn_duration in pgbench
Список pgsql-hackers

On 2021/07/28 16:15, Yugo NAGATA wrote:
>> I found another disconnect_all().
>>
>>     /* XXX should this be connection time? */
>>     disconnect_all(state, nclients);
>>
>> The measurement is also not necessary here.
>> So the above comment should be removed or updated?
> 
> I think this disconnect_all will be a no-op because all connections should
> be already closed in threadRun(), but I left it just to be sure that
> connections are all cleaned-up. I updated the comment for explaining above.
> 
> I attached the updated patch. Could you please look at this?

Thanks for updating the patch! LGTM.

Barring any objection, I will commit the patch.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CREATE SEQUENCE with RESTART option
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Have I found an interval arithmetic bug?