Re: two postgres server seeing the same data - Mailing list pgsql-general

From Jaime Casanova
Subject Re: two postgres server seeing the same data
Date
Msg-id 3073cc9b0812031323q793e76dbi9630fbd072c34bf8@mail.gmail.com
Whole thread Raw
In response to Re: two postgres server seeing the same data  (Andrew Sullivan <ajs@crankycanuck.ca>)
Responses Re: two postgres server seeing the same data
Re: two postgres server seeing the same data
Re: two postgres server seeing the same data
List pgsql-general
On Wed, Dec 3, 2008 at 1:10 PM, Andrew Sullivan <ajs@crankycanuck.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?

> I know this partly because of experience with a "failover" system
> whose interlocks failed.  Two postmasters, one data area, and no
> recoverable data.
>

the worst part of learning the lesson ;)

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

pgsql-general by date:

Previous
From: "Jaime Casanova"
Date:
Subject: about privileges on pg_stat_activity columns
Next
From: "Scott Marlowe"
Date:
Subject: Re: two postgres server seeing the same data