Skip to content

Fix formatting of restore from backup text

Stan Hu requested to merge sh-fix-backup-restore-formatting into master

In !40911 (merged), we added a confirmation step if psql encountered any errors. However, the threads used to read stdout/stderr were not joined, so it was likely that the stdout spew from psql would continue to spew before the process was actually complete. As done in Popen3#capture3, this change waits for those stdout/stderr threads to finish before proceeding.

Screenshot when warning occurs:

image

Edited by Stan Hu

Merge request reports

Loading