Re: Timing problem in DROP TABLESPACE? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Timing problem in DROP TABLESPACE?
Date
Msg-id 20867.1225984851@sss.pgh.pa.us
Whole thread Raw
In response to Re: Timing problem in DROP TABLESPACE?  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Timing problem in DROP TABLESPACE?  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Simon Riggs wrote:
>> On a recent test the last command of the last test has failed:
>> DROP TABLESPACE testspace;
>> ERROR:  tablespace "testspace" is not empty

> Maybe it is failing due to files that are scheduled to be deleted by
> next checkpoint?  If it runs a checkpoint internally, perhaps there's a
> race condition in the code that waits until the files are gone.

The buildfarm has shown this type of error occasionally, though AFAIR
only on Windows boxen.  I had assumed it was a Windows-specific issue.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] EnableDisableTrigger Cleanup & Questions
Next
From: Teodor Sigaev
Date:
Subject: Bitmap index - first look