Re: tablespaces and non-empty directories

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas DCP SD
Тема Re: tablespaces and non-empty directories
Дата
Msg-id E1539E0ED7043848906A8FF995BDA5799A521C@m0143.s-mxs.net
обсуждение исходный текст
Ответ на tablespaces and non-empty directories  (Philip Yarra <philip@utiba.com>)
Ответы Re: tablespaces and non-empty directories  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > 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

That is not so on AIX. Only the moint point (the dir in the parent) is
root.
Once mounted it can have (and preserves) any permission you want.
But on AIX the workaround is to remove the directory after mounting and
before
creating the tablespace.

Andreas


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: MERGE vs REPLACE
Следующее
От: "Zeugswetter Andreas DCP SD"
Дата:
Сообщение: Re: MERGE vs REPLACE