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/