Re: Tablespaces

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: Tablespaces
Дата
Msg-id 1078315131.23531.115.camel@cerberus.lfix.co.uk
обсуждение исходный текст
Ответ на Re: Tablespaces  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Tablespaces  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Tablespaces  (Barry Lind <blind@xythos.com>)
Список pgsql-hackers
On Wed, 2004-03-03 at 04:59, Tom Lane wrote:
>    What might make sense is some sort of marker file in a
> tablespace directory that links back to the owning $PGDATA directory.
> CREATE TABLESPACE should create this, or reject if it already exists.

It will not be enough for the marker to list the path of the parent
$PGDATA, since that path might get changed by system administration
action.  The marker should contain some sort of unique string which
would match the same string somewhere in $PGDATA.  Then, if either
tablespace or $PGDATA were moved, it would be possible to tie the two
back together.  It wouldn't be an issue on most normal systems, but
might be of crucial importance for an ISP running numerous separate
clusters.
-- 
Oliver Elphick <olly@lfix.co.uk>
LFIX Ltd



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

Предыдущее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: [pgsql-hackers-win32] Tablespaces
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-hackers-win32] Tablespaces