Moving a tablespace

Поиск
Список
Период
Сортировка
От Hyatt, Gordon
Тема Moving a tablespace
Дата
Msg-id 8EA62D1B324F0A438A36E8B5F0848EB8F32051@jdcmail1.joslin.harvard.edu
обсуждение исходный текст
Ответы Re: Moving a tablespace  ("Peter Koczan" <pjkoczan@gmail.com>)
Список pgsql-admin
I want to move an existing tablespace on an FC8 box.  I read (at
http://www.postgresql.org/docs/8.2/static/manage-ag-tablespaces.html)
that one can simply stop the server, update the symbolic link in
$PGDATA/pg_tblspc, start the server, then update the pg_tablespace
catalog to point to the new location.

Is this all there is to moving a tablespace?  It seems too easy.

The tablespace I want to move is only around 1GB in size so dropping and
reloading during the next maintenance cycle is not that much of an
issue; although, I'd prefer not to.

Thanks in advance,

Gord



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

Предыдущее
От: "Campbell, Lance"
Дата:
Сообщение: Odd syntax
Следующее
От: "Peter Koczan"
Дата:
Сообщение: Re: Moving a tablespace