Re: Cygwin PostgreSQL Regression Test Problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: Cygwin PostgreSQL Regression Test Problems
Date: 2001-01-18 17:59:00
Message-ID: 3889.979840740@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com> writes:
> On Thu, Jan 18, 2001 at 12:39:59PM -0500, Tom Lane wrote:
>> However --- I suppose Windows can't cope with deleting a file someone
>> else is holding open, either?

> Yes.

>> That would cause significantly bigger problems :-(

> That sounds ominous, please elaborate.

If you drop a table that someone else has recently used, the someone
else's backend is probably still holding the file open. We generally
don't close open file descriptors until we have to.

In current sources I think that you'd get a "cannot unlink" NOTICE,
but the table would get logically dropped anyway, and the sole
side-effect would be failure to recover the disk space. But in this
case we could be talking about large amounts of disk space.

regards, tom lane

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Jason Tishler 2001-01-18 17:59:45 Re: Cygwin PostgreSQL CVS Patch
Previous Message Jason Tishler 2001-01-18 17:51:24 Re: Cygwin PostgreSQL Regression Test Problems