From: | "Euler Taveira" <euler(at)eulerto(dot)com> |
---|---|
To: | "Justin Pryzby" <pryzby(at)telsasoft(dot)com>, "Euler Taveira" <euler(dot)taveira(at)2ndquadrant(dot)com> |
Cc: | "Tomas Vondra" <tomas(dot)vondra(at)2ndquadrant(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: cleanup temporary files after crash |
Date: | 2021-06-22 19:12:51 |
Message-ID: | e1b4f05d-54ec-4f51-832b-c18cf5a161c0@www.fastmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Jun 11, 2021, at 9:43 PM, Justin Pryzby wrote:
> On Sat, Oct 31, 2020 at 09:01:15PM -0300, Euler Taveira wrote:
> > > > The current behavior is only useful for debugging purposes.
>
> On Wed, 28 Oct 2020 at 15:42, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com> wrote:
> > > One thing I'm not sure about is whether we should have the GUC as
> > > proposed, or have a negative "keep_temp_files_after_restart" defaulting
> > > to false. But I don't have a very good justification for the alternative
> > > other than vague personal preference.
>
> On Sat, Oct 31, 2020 at 09:01:15PM -0300, Euler Taveira wrote:
> > I thought about not providing a GUC at all or provide it in the developer
> > section. I've never heard someone saying that they use those temporary
> > files to investigate an issue. Regarding a crash, all information is already
> > available and temporary files don't provide extra details. This new GUC is just to keep the
> > previous behavior. I'm fine without the GUC, though.
>
> Should this GUC be classified as a developer option, and removed from
> postgresql.sample.conf ?
It probably should.
> That was discussed initially in October but not since.
Was it? I seem to have missed this suggestion.
I'm attaching a patch to fix it.
--
Euler Taveira
EDB https://www.enterprisedb.com/
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Move-new-GUC-remove_temp_files_after_crash-to-ano.patch | text/x-patch | 4.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Sabino Mullane | 2021-06-22 19:22:38 | Re: Avoid stuck of pbgench due to skipped transactions |
Previous Message | Fabien COELHO | 2021-06-22 18:03:58 | Re: [HACKERS] WIP aPatch: Pgbench Serialization and deadlock errors |