From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Levy <dvid.levy@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Cleaning up directory pgsql_tmp ?
Date: Mon, 05 Mar 2007 17:34:37 -0500
Message-ID: <23642.1173134077@sss.pgh.pa.us> (raw)
In-Reply-To: <1173131632.569000.26250@j27g2000cwj.googlegroups.com>
References: <1173131632.569000.26250@j27g2000cwj.googlegroups.com>
"David Levy" <dvid.levy@gmail.com> writes:
> I have a 7Go pgsql_tmp directory in my main tablespace which remains
> even after a cluster restart.
> Does anyone know how to clean up properly ? Can i just delete the
> directory in the filesystem (with the cluster up or down ?) ?
If the postmaster's not running, it's certainly safe to remove pgsql_tmp
files. However, unless you are running a pre-7.2 Postgres, the
postmaster should remove them for itself during startup; you should look
into why that's not happening. Permissions problem, perhaps?
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, dvid.levy@gmail.com
Subject: Re: Cleaning up directory pgsql_tmp ?
In-Reply-To: <23642.1173134077@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