Re: pg_upgrade verbosity when redirecting output to log file - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: pg_upgrade verbosity when redirecting output to log file
Date
Msg-id 20220219014626.GB9008@telsasoft.com
Whole thread Raw
In response to Re: pg_upgrade verbosity when redirecting output to log file  (Andres Freund <andres@anarazel.de>)
Responses Re: pg_upgrade verbosity when redirecting output to log file  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
+        * If outputting to a tty / or , append newline. pg_log_v() will put the
                                                                                                         
 
+        * individual progress items onto the next line.
                                                                                                         
 
+        */
                                                                                                         
 
+       if (log_opts.isatty || log_opts.verbose)
                                                                                                         
 

I guess the comment should say "or in verbose mode".

-- 
Justin



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pg_upgrade verbosity when redirecting output to log file
Next
From: Mark Wong
Date:
Subject: Re: Time to drop plpython2?