Re: Bug in CREATE/DROP TABLESPACE command - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Bug in CREATE/DROP TABLESPACE command
Date
Msg-id 200703202257.l2KMvrn27257@momjian.us
Whole thread Raw
In response to Bug in CREATE/DROP TABLESPACE command  (William Garrison <postgres@mobydisk.com>)
Responses Re: Bug in CREATE/DROP TABLESPACE command
List pgsql-general
What version of PostgreSQL is this?  Please provide the SQL commands
that cause this problem, with error output.

---------------------------------------------------------------------------

William Garrison wrote:
> On Windows Server 2003, if you create a tablespace to a location that
> doesn't exist, then try to remove that tablespace, you get an error that
> pg_tblspc/##### does not exist.  It appears that postgres created the
> tablespace internally, but not the folder.  When you try to drop the
> tablespace, the folder doesn't exist and it reports an error.
>
> This sounds like two interacting bugs:
> 1) The tablespace should not have been created because the symlink could
> not be created.
> 2) It should be possible to remove a tablespace even if the symlink has
> already been deleted manually.
>
> The workaround is to create a pg_tblsc/##### directory then do the drop.
>
> Where do I submit this bug?
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>                http://archives.postgresql.org/

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-general by date:

Previous
From: "Arthur Hoogervorst"
Date:
Subject: Re: Postgresql to Delphi
Next
From: "Dhaval Shah"
Date:
Subject: Re: Unable to start postgres in recovery mode.