Re: Stripping out slony after / before / during pg_restore?

From: Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>
To: slony1-general(at)lists(dot)slony(dot)info, pgsql-general(at)postgresql(dot)org
Cc: singh(dot)gurjeet(at)gmail(dot)com, Richard Huxton <dev(at)archonet(dot)com>
Subject: Re: Stripping out slony after / before / during pg_restore?
Date: 2008-05-13 13:02:54
Message-ID: 740090.32367.qm@web25803.mail.ukl.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks guys, that's exactly what I wanted.

----- Original Message ----
> From: Richard Huxton <dev(at)archonet(dot)com>
> To: Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>
> Cc: slony1-general(at)lists(dot)slony(dot)info; pgsql-general(at)postgresql(dot)org
> Sent: Tuesday, 13 May, 2008 1:34:18 PM
> Subject: Re: [GENERAL] Stripping out slony after / before / during pg_restore?
>
> Glyn Astill wrote:
> > Hi people,
> >
> > I'm setting us up a separate staging / test server and I want to read
> > in a pg_dump of our current origin stripping out all the slony stuff.
> >
> > I was thinking this could serve two purposes a) test out backups
> > restore properly and b) provide us with us with the staging / test
> > server
> >
> > What's the best way to remove all the slony bits?
>
> Well, you can always just drop the slony schema (with a cascade) - that
> should do it.
>
> --
> Richard Huxton

__________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

Browse pgsql-general by date

  From Date Subject
Next Message John Gateley 2008-05-13 13:22:15 DB Connections in TIME_WAIT state
Previous Message Fernando Schapachnik 2008-05-13 12:50:27 Re: Is this a bug? (changing sequences in default value)