Tom Lane wrote:
> Andreas Pflug <pgadmin@pse-consulting.de> writes:
>
>>Tom Lane wrote:
>>
>>>Oh, I'll bet it's the original copy of the table that hasn't been
>>>removed yet.
>
>
>>You win.
>
>
> I looked at the ALTER TABLE SET TABLESPACE code and saw that it was
> indeed failing to close the original table. I've committed a fix.
> Can someone check that this particular failure mode is gone on Windows
> with CVS tip?
Yes, it's gone. The table file now vanishes immediately from the
previous tablespace dir.
Regards,
Andreas