Re: pg_upgrade --logfile option documentation

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: "A.M." <agentm@themactionfaction.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2012-03-08T21:37:53Z
Lists: pgsql-hackers
On tor, 2012-03-08 at 10:06 -0500, A.M. wrote:
> > 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? 

I don't want to see some tool unconditionally writing files (log or
otherwise) with unpredictable names.  That would make it impossible to
clean up in a wrapper script.