diff options
author | Fujii Masao <fujii@postgresql.org> | 2021-08-30 21:35:24 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2021-08-30 21:35:24 +0900 |
commit | bfd4567b88496bf9669658e5ab381b296dd9ffe1 (patch) | |
tree | 9a7a730a487607012e779d5cf01d5f46c5ad18b8 /src/backend/utils/adt/enum.c | |
parent | bad6cef32ca2dd60c8be18f95a7157ced189ec99 (diff) | |
download | postgresql-bfd4567b88496bf9669658e5ab381b296dd9ffe1.tar.gz postgresql-bfd4567b88496bf9669658e5ab381b296dd9ffe1.zip |
pgbench: Avoid unnecessary measurement of connection delays.
Commit 547f04e734 changed pgbench so that it used the measurement result
of connection delays in its benchmark report only when -C/--connect option
is specified. But previously those delays were unnecessarily measured
even when that option is not specified. Which was a waste of cycles.
This commit improves pgbench so that it avoids such unnecessary measurement.
Back-patch to v14 where commit 547f04e734 first appeared.
Author: Yugo Nagata
Reviewed-by: Fabien COELHO, Asif Rehman, Fujii Masao
Discussion: https://postgr.es/m/20210614151155.a393bc7d8fed183e38c9f52a@sraoss.co.jp
Diffstat (limited to 'src/backend/utils/adt/enum.c')
0 files changed, 0 insertions, 0 deletions