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 |
<div style="font-family: Times New Roman; font-size: 12pt; color: #000000">----- "Fujii Masao" <masao.fujii@gmail.com>escreveu: <br />> IMO, it's not so dangerous that postgres creates the directories,<br />>which doesn't overwrite or remove any existing data. So, I thought<br />> that it's worth writing the patch to createa tablespace directory<br />> in recovery. Is this the right direction? Or, we should completely<br />> forbidthe auto-creation of directories outside $PGDATA?<br /><br />I don't think it's a good idea to create directories automaticallyat all.<br />Considering that the greatest benefit of using tablespaces is to move tables and indexes that havehigh concurrency to different disk partitions or controllers, creating directories (and mounting devices) for tablespacesshould be a manual process.<br /><br />Flavio<br /></div>
В списке pgsql-hackers по дате отправления: