Re: two postgres server seeing the same data

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
Cc: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>, pgsql-general(at)postgresql(dot)org
Subject: Re: two postgres server seeing the same data
Date: 2008-12-03 21:40:01
Message-ID: 1228340401.27483.165.camel@jd-laptop.pragmaticzealot.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2008-12-03 at 16:23 -0500, Jaime Casanova wrote:
> On Wed, Dec 3, 2008 at 1:10 PM, Andrew Sullivan <ajs(at)crankycanuck(dot)ca> wrote:
> > On Wed, Dec 03, 2008 at 09:43:24AM -0800, Joshua D. Drake wrote:
> >> You may have two servers pointed at $PGDATA but at no point can
> >> postgresql be running on both at the same time.
> >
> > More importantly, if you do this, you will probably be able to get the
> > two postmasters to start up. This will permanently corrupt the data.
>
> is this true even if one of the server just send SELECTs?

Yes.

Joshua D. Drake

--
PostgreSQL
Consulting, Development, Support, Training
503-667-4564 - http://www.commandprompt.com/
The PostgreSQL Company, serving since 1997

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jaime Casanova 2008-12-03 21:41:40 Re: two postgres server seeing the same data
Previous Message Scott Marlowe 2008-12-03 21:30:23 Re: two postgres server seeing the same data