It seems a bit annoying to have to do an rm -rf * $PGDATA/ before resynching a standby using pg_basebackup. This means that I still need to wrap basebackup in a shell script, instead of having it do everything for me ... especially if I have multiple tablespaces.
Couldn't we have a --force option which would clear all data and tablespace directories before resynching?
PostgreSQL Experts Inc.
pgsql-hackers by date
|Next:||From: Jesper Krogh||Date: 2011-04-09 18:53:31|
|Subject: Re: Evaluation of secondary sort key.|
|Previous:||From: Joshua Berkus||Date: 2011-04-09 18:23:10|
|Subject: Bug in pg_hba.conf or pg_basebackup concerning replication