Re: tablespaces and non-empty directories

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Philip Yarra <philip(at)utiba(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: tablespaces and non-empty directories
Date: 2005-11-17 04:37:40
Message-ID: 22096.1132202260@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Philip Yarra <philip(at)utiba(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2005-11-17 05:30:54 Re: [ANNOUNCE] PostgreSQL Weekly News - November 13 2005
Previous Message Gavin Sherry 2005-11-17 04:32:26 Re: tablespaces and non-empty directories