postgresql/src/bin/pgbench
Fujii Masao af35fe501a pgbench: Ensure previous progress message is fully cleared when updating.
During pgbench's table initialization, progress updates could display
leftover characters from the previous message if the new message
was shorter. This commit resolves the issue by appending spaces to
the current message to fully overwrite any remaining characters from
the previous line.

Back-patch to all the supported versions.

Author: Yushi Ogiwara, Tatsuo Ishii, Fujii Masao
Reviewed-by: Tatsuo Ishii, Fujii Masao
Discussion: https://postgr.es/m/9a9b8b95b6a709877ae48ad5b0c59bb9@oss.nttdata.com
2024-11-27 23:01:53 +09:00
..
t Handle better implicit transaction state of pipeline mode 2024-11-27 09:31:22 +09:00
.gitignore Build all Flex files standalone 2022-09-04 12:09:01 +07:00
exprparse.y Update copyright for 2024 2024-01-03 20:49:05 -05:00
exprscan.l Update copyright for 2024 2024-01-03 20:49:05 -05:00
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
pgbench.c pgbench: Ensure previous progress message is fully cleared when updating. 2024-11-27 23:01:53 +09:00
pgbench.h Update copyright for 2024 2024-01-03 20:49:05 -05:00