Re: Tablespace patch review

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Tablespace patch review
Дата
Msg-id 40D3F8A7.6000109@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Tablespace patch review  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
> regression=# create database foo location 'bar';
> WARNING:  LOCATION is not supported anymore
> HINT:  Consider using tablespaces instead.
> CREATE DATABASE
>
> and everything will go into the default tablespace.  I don't really
> see how to do much better than that ...

You could create an automatically named tablespace instead of the
location...

By the way, I think that we should deny users the ability to create
tablespaces that begin with pg_.  Also, the existing ones should be
pg_global and pg_default.  That way, we have room to move if ever we
decide we want more system tablespaces.  It also makes it easier to dump
non-system tablespaces.

Chris

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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Tablespace patch review
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: Tablespace patch review