Re: fd.c doesn't remove files on a crash-restart - Mailing list pgsql-hackers

From Andres Freund
Subject Re: fd.c doesn't remove files on a crash-restart
Date
Msg-id 20160316180400.dontys75wnlodlo3@alap3.anarazel.de
Whole thread Raw
In response to Re: fd.c doesn't remove files on a crash-restart  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: fd.c doesn't remove files on a crash-restart
List pgsql-hackers
On 2016-03-16 11:02:09 -0700, Joshua D. Drake wrote:
> >>3. The problem can get worse over time. If you have a very long running
> >>instance, any time the backend crash-restarts you have to potential to
> >>increase disk space used for no purpose.
> >
> >But I think these outweigh the debugging benefit.
> 
> Well as Andrew said, we could also create postmaster start option that
> defaults to don't save.

I think these days you'd simply use restart_after_crash = false. For
debugging I found that to be rather valuable.


Andres



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Pushdown target list below gather node (WAS Re: WIP: Upper planner pathification)
Next
From: Tom Lane
Date:
Subject: Re: fd.c doesn't remove files on a crash-restart