Re: Fix around conn_duration in pgbench

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Fix around conn_duration in pgbench
Дата
Msg-id 4fa49404-035c-901f-41d0-7a1a18c2e30e@oss.nttdata.com
обсуждение исходный текст
Ответ на Re: Fix around conn_duration in pgbench  (Yugo NAGATA <nagata@sraoss.co.jp>)
Ответы Re: Fix around conn_duration in pgbench  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список pgsql-hackers

On 2021/08/05 18:02, Yugo NAGATA wrote:
> this is a no-op because finishCon() is already called at CSTATE_ABORTED or
> CSTATE_FINISHED. Therefore, in the end, the disconnection delay is not
> measured even in v13.

Yes, but I was thinking that's a bug that we should fix.
IOW, I was thinking that, in v13, both connection and disconnection delays
should be measured whether -C is specified or not, *per spec*.
But, in v13, the disconnection delays are not measured in the cases
where -C is specified and not specified. So I was thinking that this is
a bug and we should fix those both cases.

But you're thinking that, in v13, the disconnection delays don't need to
be measured because they are not measured for now?

Regards,

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



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Allow parallel DISTINCT
Следующее
От: Mahendra Singh Thalor
Дата:
Сообщение: Re: Support reset of Shared objects statistics in "pg_stat_reset" function