From: Tom Lane <tgl@sss.pgh.pa.us>
To: Willy-Bas Loos <willybas@gmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: temporary data after diskspace error
Date: Mon, 27 Jan 2020 11:15:24 -0500
Message-ID: <9650.1580141724@sss.pgh.pa.us> (raw)
In-Reply-To: <CAHnozThPqqeT4ECoYFy0iFyk1oZgkQBYr3S=w2C8h3rdXwm05g@mail.gmail.com>
References: <CAHnozThPqqeT4ECoYFy0iFyk1oZgkQBYr3S=w2C8h3rdXwm05g@mail.gmail.com>
Willy-Bas Loos <willybas@gmail.com> writes:
> And also: How can i make postgres clean up the files?
> Can it be done without restarting the cluster?
> Will restarting it help?
A restart will clean out temp files. I don't think there's any
terribly safe way to do it without that. You could manually
remove such files that haven't been accessed recently, but the
risk of human error is high.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, willybas@gmail.com
Subject: Re: temporary data after diskspace error
In-Reply-To: <9650.1580141724@sss.pgh.pa.us>
References: <CAHnozThPqqeT4ECoYFy0iFyk1oZgkQBYr3S=w2C8h3rdXwm05g@mail.gmail.com> <9650.1580141724@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox