Re: Timing problem in DROP TABLESPACE?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Simon Riggs <simon(at)2ndQuadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Timing problem in DROP TABLESPACE?
Date: 2008-11-06 15:20:51
Message-ID: 20867.1225984851@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)commandprompt(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tony Fernandez 2008-11-06 15:21:50 Upgrading Postgres versions question
Previous Message Tom Lane 2008-11-06 15:08:48 Re: [PATCH] EnableDisableTrigger Cleanup & Questions