On Mar 8, 2012, at 10:00 AM, Bruce Momjian wrote:
>
> Yes. I was afraid that continually appending to a log file on every run
> would be too confusing. I could do only appends, or number the log
> files, that those seemed confusing.
>
>> the /tmp directory so that one can compare results if the first pg_upgrade
>> run had been errant.
>
> You would have to copy the file to a new name before re-running
> pg_upgrade.
>
> The only reason I truncate them on start is that I am appending to them
> in many places in the code, and it was easier to just truncate them on
> start rather than to remember where I first write to them.
>
mktemps?