redirect stdout into a log file
protected string for compare pg version
remove secondes for estimate time