forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitaf35fe5
committed
pgbench: Ensure previous progress message is fully cleared when updating.
During pgbench's table initialization, progress updates could displayleftover characters from the previous message if the new messagewas shorter. This commit resolves the issue by appending spaces tothe current message to fully overwrite any remaining characters fromthe previous line.Back-patch to all the supported versions.Author: Yushi Ogiwara, Tatsuo Ishii, Fujii MasaoReviewed-by: Tatsuo Ishii, Fujii MasaoDiscussion:https://postgr.es/m/9a9b8b95b6a709877ae48ad5b0c59bb9@oss.nttdata.com1 parent09d09d4 commitaf35fe5
1 file changed
+16
-5
lines changedLines changed: 16 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4944 | 4944 |
| |
4945 | 4945 |
| |
4946 | 4946 |
| |
| 4947 | + | |
4947 | 4948 |
| |
4948 | 4949 |
| |
4949 | 4950 |
| |
| |||
5004 | 5005 |
| |
5005 | 5006 |
| |
5006 | 5007 |
| |
5007 |
| - | |
| 5008 | + | |
5008 | 5009 |
| |
5009 | 5010 |
| |
5010 |
| - | |
| 5011 | + | |
5011 | 5012 |
| |
5012 | 5013 |
| |
5013 | 5014 |
| |
| |||
5018 | 5019 |
| |
5019 | 5020 |
| |
5020 | 5021 |
| |
5021 |
| - | |
| 5022 | + | |
5022 | 5023 |
| |
5023 | 5024 |
| |
5024 |
| - | |
| 5025 | + | |
5025 | 5026 |
| |
5026 | 5027 |
| |
5027 | 5028 |
| |
5028 | 5029 |
| |
5029 | 5030 |
| |
| 5031 | + | |
| 5032 | + | |
| 5033 | + | |
| 5034 | + | |
| 5035 | + | |
| 5036 | + | |
| 5037 | + | |
| 5038 | + | |
| 5039 | + | |
| 5040 | + | |
5030 | 5041 |
| |
5031 | 5042 |
| |
5032 | 5043 |
| |
5033 |
| - | |
| 5044 | + | |
5034 | 5045 |
| |
5035 | 5046 |
| |
5036 | 5047 |
| |
|
0 commit comments
Comments
(0)