pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: pgbench: Ensure previous progress message is fully cleared when
6+ messages / 1 participants
[nested] [flat]

* pgsql: pgbench: Ensure previous progress message is fully cleared when
@ 2024-11-27 14:06 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Fujii Masao @ 2024-11-27 14:06 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/af35fe501af52f90355ac184a17643932a26464f

Modified Files
--------------
src/bin/pgbench/pgbench.c | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pgbench: Ensure previous progress message is fully cleared when
@ 2024-11-27 14:06 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Fujii Masao @ 2024-11-27 14:06 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/adb103fcacdde73d1446d72ce9c2da414c86bd74

Modified Files
--------------
src/bin/pgbench/pgbench.c | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pgbench: Ensure previous progress message is fully cleared when
@ 2024-11-27 14:07 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Fujii Masao @ 2024-11-27 14:07 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1cf646957135d1200c2b7765e6446fb91bb47d86

Modified Files
--------------
src/bin/pgbench/pgbench.c | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pgbench: Ensure previous progress message is fully cleared when
@ 2024-11-27 14:07 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Fujii Masao @ 2024-11-27 14:07 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1e46f7351abcc8f17d37b0d7498fb672a105eb26

Modified Files
--------------
src/bin/pgbench/pgbench.c | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pgbench: Ensure previous progress message is fully cleared when
@ 2024-11-27 14:07 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Fujii Masao @ 2024-11-27 14:07 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0f13e1a78b145935e5a128a44cb828ea24bac72d

Modified Files
--------------
src/bin/pgbench/pgbench.c | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pgbench: Ensure previous progress message is fully cleared when
@ 2024-11-27 14:08 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Fujii Masao @ 2024-11-27 14:08 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f1cb5e51f32960d336d55429f0f172e853043c18

Modified Files
--------------
src/bin/pgbench/pgbench.c | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2024-11-27 14:08 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-11-27 14:06 pgsql: pgbench: Ensure previous progress message is fully cleared when Fujii Masao <fujii@postgresql.org>
2024-11-27 14:06 pgsql: pgbench: Ensure previous progress message is fully cleared when Fujii Masao <fujii@postgresql.org>
2024-11-27 14:07 pgsql: pgbench: Ensure previous progress message is fully cleared when Fujii Masao <fujii@postgresql.org>
2024-11-27 14:07 pgsql: pgbench: Ensure previous progress message is fully cleared when Fujii Masao <fujii@postgresql.org>
2024-11-27 14:07 pgsql: pgbench: Ensure previous progress message is fully cleared when Fujii Masao <fujii@postgresql.org>
2024-11-27 14:08 pgsql: pgbench: Ensure previous progress message is fully cleared when Fujii Masao <fujii@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox