Re: tablespaces and non-empty directories - Mailing list pgsql-hackers

From Tom Lane
Subject Re: tablespaces and non-empty directories
Date
Msg-id 22096.1132202260@sss.pgh.pa.us
Whole thread Raw
In response to tablespaces and non-empty directories  (Philip Yarra <philip@utiba.com>)
List pgsql-hackers
Philip Yarra <philip@utiba.com> writes:
> This is because lost+found exists. Since lost+found would be a reasonably 
> common directory to find at a mount-point on Unix-like OSs*, would it make 
> sense for CREATE TABLESPACE to ignore it if present?

No.  There is no reason to use a volume's root directory as a
tablespace; especially so since the root directory ought to be owned
by root and so you'd have a permissions problem anyhow.  Make a
subdirectory.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: tablespaces and non-empty directories
Next
From: Tom Lane
Date:
Subject: Re: OS X 7.4 failure