Re: Tablespaces - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: Tablespaces
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA40184CFEE@m0114.s-mxs.net
Whole thread Raw
In response to Tablespaces  (Gavin Sherry <swm@linuxworld.com.au>)
Responses Re: Tablespaces  ("scott.marlowe" <scott.marlowe@ihs.com>)
List pgsql-hackers
> > Ahh. I forgot to detail my ideas on this. It seems to me that we cannot
> > drop a table space until the directory is empty.

Agreed.

>
> How would it get to be empty?  Are you thinking of some sort of "connect
> database to tablespace" and "disconnect database from tablespace"
> commands that would respectively create and delete the per-database
> subdirectory?  That seems moderately reasonable to me.  We could then

I would only allow the drop if the directory only contains empty db oid
directories.

Andreas


pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: CVS HEAD compile warning
Next
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: Thread safe connection-name mapping in ECPG. Is it required?