Re: fd.c doesn't remove files on a crash-restart

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: fd.c doesn't remove files on a crash-restart
Date: 2016-03-16 18:15:18
Message-ID: 56E9A2B6.9090301@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 03/16/2016 11:08 AM, Andres Freund wrote:

>>>> 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.
>>
>> That would have created an extended outage for this installation. I am not
>> sure we can force that for something that should not happen in the first
>> place (filling up the hard drive with dead files).
>
> Nah, I meant that if you want to debug something you'd set that (i.e. in
> the case you need the temp files), not you should set that.

Aww, yes that would be reasonable as well.

JD

--
Command Prompt, Inc. http://the.postgres.company/
+1-503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Everyone appreciates your honesty, until you are honest with them.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-03-16 18:16:00 Re: Performance degradation in commit ac1d794
Previous Message Robert Haas 2016-03-16 18:14:22 Re: Pushdown target list below gather node (WAS Re: WIP: Upper planner pathification)