Re: create tablespace fails silently, or succeeds improperly

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: create tablespace fails silently, or succeeds improperly
Дата
Msg-id 201010182002.o9IK21R29658@momjian.us
обсуждение исходный текст
Ответ на Re: create tablespace fails silently, or succeeds improperly  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Yeah.  We have gotten complaints in the past from people who tried to
> specify a mount point as a tablespace, and it failed because of
> lost+found or the mount dir being root-owned.  We've told them to make a
> subdirectory, but that always seemed like a workaround.  With the new
> layout there's no longer any strong reason to prevent this case from
> working.
> 
> Basically, I'm thinking that given CREATE TABLESPACE LOCATION '/foo/bar'
> the creation and properties of /foo/bar/PG_9.0_201004261 ought to be
> handled *exactly* the way that the -D target directory of initdb is.
> We have more than ten years experience behind the assertion that we're
> dealing with that case in a good way.  We should transfer that behavior
> over to tablespace directories rather than inventing something that
> works a shade differently.
> 
> Barring objections, I'll go make it work that way in HEAD and 9.0.

Yes please, thanks.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Creation of temporary tables on read-only standby servers
Следующее
От: Tom Lane
Дата:
Сообщение: Re: knngist - 0.8