Re: [pgsql-hackers-win32] error moving table to tablespace

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christian Traber <christian(at)traber-net(dot)de>, Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>, pgsql-general(at)postgresql(dot)org, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: [pgsql-hackers-win32] error moving table to tablespace
Date: 2004-08-12 09:30:44
Message-ID: 411B38C4.2010908@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers-win32

Tom Lane wrote:
> Christian Traber <christian(at)traber-net(dot)de> writes:
>
>>Maybe its only win32 version?
>
>
> Well, I can't reproduce it on Unix. It seems awfully odd though that
> you can create tables in that tablespace to begin with but can't move
> them there. I'm cc'ing this to the pgsql-hackers-win32 to see if anyone
> there has a clue ...

I just reproduced this on win32. The file already exists, and is locked.
Apparently, in this case it's the very same backend that's locking the
file; closing the connection that was used to move the table into the
other tablespace will remove the file immediately.

Regards,
Andreas

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2004-08-12 10:25:04 Re: Replication options?
Previous Message Richard Huxton 2004-08-12 08:32:21 Re: Clustering, mirroriing, or replication?

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruce Momjian 2004-08-12 13:28:38 Re: Import from Linux to Windows
Previous Message Claudio Natoli 2004-08-12 08:21:25 Re: Import from Linux to Windows