pgsql: Fix printing last progress report line in client programs.

2020-08-17 Thread Heikki Linnakangas
Fix printing last progress report line in client programs. A number of client programs have a "--progress" option that when printing to a TTY, updates the current line by printing a '\r' and overwriting it. After the last line, '\n' needs to be printed to move the cursor to the next line. pg_baseb

pgsql: Fix printing last progress report line in client programs.

2020-08-17 Thread Heikki Linnakangas
Fix printing last progress report line in client programs. A number of client programs have a "--progress" option that when printing to a TTY, updates the current line by printing a '\r' and overwriting it. After the last line, '\n' needs to be printed to move the cursor to the next line. pg_baseb

pgsql: Fix printing last progress report line in client programs.

2020-08-17 Thread Heikki Linnakangas
Fix printing last progress report line in client programs. A number of client programs have a "--progress" option that when printing to a TTY, updates the current line by printing a '\r' and overwriting it. After the last line, '\n' needs to be printed to move the cursor to the next line. pg_baseb