diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-12-04 11:33:14 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-12-04 11:33:14 +0900 |
commit | d37ddb745be07502814635585cbf935363c8a33d (patch) | |
tree | 2bbc49bc277279019958f0a7c61101b1d5e51a2c /src/backend/executor/nodeModifyTable.c | |
parent | 85b9ef5fe7533e5d07dcf2a2b67c8855a34e5125 (diff) | |
download | postgresql-d37ddb745be07502814635585cbf935363c8a33d.tar.gz postgresql-d37ddb745be07502814635585cbf935363c8a33d.zip |
Use carriage returns for data insertion logs in pgbench on terminal
This is similar to what pg_basebackup and pg_rewind do when reporting
cumulative data, and that's more user-friendly. Carriage returns are
now used when stderr points to a terminal, and newlines are used in
other cases, like a redirection to a log file.
Author: Amit Langote
Reviewed-by: Fabien Coelho
Discussion: https://postgr.es/m/CA+HiwqFNwEjPeVaQsp2L7DyCPv1Eg1guwhrVhzMYqUJUk8ULKg@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions