Re: Feature request: pg_basebackup --force

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Feature request: pg_basebackup --force
Дата
Msg-id BANLkTi=KRWB9Ju+7H9XTKjjvpcuJM-0KQA@mail.gmail.com
обсуждение исходный текст
Ответ на Feature request: pg_basebackup --force  (Joshua Berkus <josh@agliodbs.com>)
Ответы Re: Feature request: pg_basebackup --force  (Joshua Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Sat, Apr 9, 2011 at 20:26, Joshua Berkus <josh@agliodbs.com> wrote:
> Magnus, all:
>
> It seems a bit annoying to have to do an rm -rf * $PGDATA/ before resynching a standby using pg_basebackup.  This
meansthat I still need to wrap basebackup in a shell script, instead of having it do everything for me ... especially
ifI have multiple tablespaces. 
>
> Couldn't we have a --force option which would clear all data and tablespace directories before resynching?

That could certainly be useful, yes. But I have a feeling whomever
tries to get that into 9.1 will be killed - but it's certainly good to
put ont he list of things for 9.2.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: BUG #5856: pg_attribute.attinhcount is not correct.
Следующее
От: Robert Haas
Дата:
Сообщение: Re: switch UNLOGGED to LOGGED