aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2024-11-27 23:03:44 +0900
committerFujii Masao <fujii@postgresql.org>2024-11-27 23:04:29 +0900
commit1e46f7351abcc8f17d37b0d7498fb672a105eb26 (patch)
tree43ebf317a2f31ba1a6a657ea553c318cae8ac112 /src/backend/tcop/postgres.c
parentf2353d03cd0d81ae1829362dcbde85467ea828fd (diff)
downloadpostgresql-1e46f7351abcc8f17d37b0d7498fb672a105eb26.tar.gz
postgresql-1e46f7351abcc8f17d37b0d7498fb672a105eb26.zip
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
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions