Re: PITR and moving objects between table spaces

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PITR and moving objects between table spaces
Дата
Msg-id 21672.1165887424@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PITR and moving objects between table spaces  (Glen Parker <glenebob@nwlink.com>)
Ответы Re: PITR and moving objects between table spaces  (Glen Parker <glenebob@nwlink.com>)
Список pgsql-general
Glen Parker <glenebob@nwlink.com> writes:
> I guess the best question I can see is, under what circumstances is the
> directory name in pg_tablespace actually used?

It isn't used (except by pg_dumpall) ... what counts is where the
symlink in $PGDATA/pg_tblspc points.

> I have a scenario where I want to restore from a PITR backup, into an
> alternate location on the same machine it came from, while the original
> database is still up and running.  I have one alternate table space.

You can probably make this work if you don't issue any CREATE TABLESPACE
commands while PITR logging is active, but you'll want to test your
procedures pretty carefully.

            regards, tom lane

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

Предыдущее
От: "Lenorovitz, Joel"
Дата:
Сообщение: Metadata from NEW and OLD constructs?
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: possible typo on 8.2 manual