Re: two postgres server seeing the same data

From: "Jaime Casanova" <jcasanov(at)systemguards(dot)com(dot)ec>
To: "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:23:15
Message-ID: 3073cc9b0812031323q793e76dbi9630fbd072c34bf8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-12-03 21:29:50 Re: two postgres server seeing the same data
Previous Message Jaime Casanova 2008-12-03 20:40:29 about privileges on pg_stat_activity columns