- Notifications
You must be signed in to change notification settings - Fork28
Commitd37ddb7
committed
Use carriage returns for data insertion logs in pgbench on terminal
This is similar to what pg_basebackup and pg_rewind do when reportingcumulative data, and that's more user-friendly. Carriage returns arenow used when stderr points to a terminal, and newlines are used inother cases, like a redirection to a log file.Author: Amit LangoteReviewed-by: Fabien CoelhoDiscussion:https://postgr.es/m/CA+HiwqFNwEjPeVaQsp2L7DyCPv1Eg1guwhrVhzMYqUJUk8ULKg@mail.gmail.com1 parent85b9ef5 commitd37ddb7
1 file changed
+11
-5
lines changedLines changed: 11 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3835 | 3835 |
| |
3836 | 3836 |
| |
3837 | 3837 |
| |
| 3838 | + | |
| 3839 | + | |
| 3840 | + | |
3838 | 3841 |
| |
3839 | 3842 |
| |
3840 | 3843 |
| |
| |||
3910 | 3913 |
| |
3911 | 3914 |
| |
3912 | 3915 |
| |
3913 |
| - | |
| 3916 | + | |
3914 | 3917 |
| |
3915 | 3918 |
| |
3916 |
| - | |
| 3919 | + | |
3917 | 3920 |
| |
3918 | 3921 |
| |
3919 | 3922 |
| |
| |||
3927 | 3930 |
| |
3928 | 3931 |
| |
3929 | 3932 |
| |
3930 |
| - | |
| 3933 | + | |
3931 | 3934 |
| |
3932 |
| - | |
| 3935 | + | |
3933 | 3936 |
| |
3934 | 3937 |
| |
3935 | 3938 |
| |
3936 | 3939 |
| |
3937 | 3940 |
| |
3938 |
| - | |
3939 | 3941 |
| |
| 3942 | + | |
| 3943 | + | |
| 3944 | + | |
| 3945 | + | |
3940 | 3946 |
| |
3941 | 3947 |
| |
3942 | 3948 |
| |
|
0 commit comments
Comments
(0)