Re: drop table but file still exists - Mailing list pgsql-general

From Simon Riggs
Subject Re: drop table but file still exists
Date
Msg-id 1242397074.3843.759.camel@ebony.2ndQuadrant
Whole thread Raw
In response to drop table but file still exists  (Luca Ferrari <fluca1978@infinito.it>)
List pgsql-general
On Fri, 2009-05-15 at 09:09 +0200, Luca Ferrari wrote:

> I'm just curious to know why after a drop table the disk file is emptied but
> still existent. What is the reason why the file is not deleted immediately?

To avoid various problems the files are removed after the next
checkpoint.

--
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: drop table but file still exists
Next
From: "Arnold, Sandra"
Date:
Subject: Error in pgAdminIII