Re: Creating a tablespace directory in recovery

Поиск
Список
Период
Сортировка
От Flavio Henrique Araque Gurgel
Тема Re: Creating a tablespace directory in recovery
Дата
Msg-id 7213469.01241204782148.JavaMail.flavio@presente
обсуждение исходный текст
Ответ на Re: Creating a tablespace directory in recovery  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
----- "Fujii Masao" <masao.fujii@gmail.com> escreveu:
> IMO, it's not so dangerous that postgres creates the directories,
> which doesn't overwrite or remove any existing data. So, I thought
> that it's worth writing the patch to create a tablespace directory
> in recovery. Is this the right direction? Or, we should completely
> forbid the auto-creation of directories outside $PGDATA?

I don't think it's a good idea to create directories automatically at all.
Considering that the greatest benefit of using tablespaces is to move tables and indexes that have high concurrency to different disk partitions or controllers, creating directories (and mounting devices) for tablespaces should be a manual process.

Flavio

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