Feature request: pg_basebackup --force

Поиск
Список
Период
Сортировка
От Joshua Berkus
Тема Feature request: pg_basebackup --force
Дата
Msg-id 2014240922.53212.1302373574331.JavaMail.root@mail-1.01.com
обсуждение исходный текст
Ответы Re: Feature request: pg_basebackup --force  (Magnus Hagander <magnus@hagander.net>)
Re: Feature request: pg_basebackup --force  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Magnus, all:

It seems a bit annoying to have to do an rm -rf * $PGDATA/ before resynching a standby using pg_basebackup.  This means
thatI still need to wrap basebackup in a shell script, instead of having it do everything for me ... especially if I
havemultiple tablespaces.
 

Couldn't we have a --force option which would clear all data and tablespace directories before resynching?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com
San Francisco


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

Предыдущее
От: Joshua Berkus
Дата:
Сообщение: Bug in pg_hba.conf or pg_basebackup concerning replication connections
Следующее
От: Jesper Krogh
Дата:
Сообщение: Re: Evaluation of secondary sort key.