Re: Timing problem in DROP TABLESPACE?

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


On Thu, 2008-11-06 at 10:20 -0500, Tom Lane wrote:
> 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.

No MS Windows here.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Martin Pihlak 2008-11-07 11:52:34 Re: SQL/MED compatible connection manager
Previous Message KaiGai Kohei 2008-11-07 09:20:49 Updates of SE-PostgreSQL 8.4devel patches (r1197)