Re: Cleaning up directory pgsql_tmp ? - Mailing list pgsql-admin

From Tom Lane
Subject Re: Cleaning up directory pgsql_tmp ?
Date
Msg-id 23642.1173134077@sss.pgh.pa.us
Whole thread Raw
In response to Cleaning up directory pgsql_tmp ?  ("David Levy" <dvid.levy@gmail.com>)
List pgsql-admin
"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

pgsql-admin by date:

Previous
From: "David Levy"
Date:
Subject: Cleaning up directory pgsql_tmp ?
Next
From: "Moritz Bayer"
Date:
Subject: pg_hba.conf & putty