Re: Fwd: Start up question about triggers - Mailing list pgsql-sql

From Andrew Sullivan
Subject Re: Fwd: Start up question about triggers
Date
Msg-id 20060627183739.GM27997@phlogiston.dyndns.org
Whole thread Raw
In response to Re: Fwd: Start up question about triggers  ("Forums @ Existanze" <forums@existanze.com>)
Responses Re: Fwd: Start up question about triggers
List pgsql-sql
On Tue, Jun 27, 2006 at 02:48:38PM +0300, Forums @ Existanze wrote:
> Hello again andrew,
> 
> Actually man I do need to be able to write to both databases, and keep them
> synchronized, and all this because of the recurring xenofobia for technology

Then sorry, but this can't be done out of the box by anything.  You
have all manner of race conditions here. 

> and the fear of "hackers" (I know the difference between hackers and

Moreover, this won't solve their problem: if someone compromised the
application, both databases would be corrupted.  There's no way to
avoid that in such a design.

Better to use Slony in log-shipping mode (or PITR) and keep backups
of all the change sets.  Then if someone broke in, you'd at least be
able to roll back to the known-good state.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
The fact that technology doesn't work is no bar to success in the marketplace.    --Philip Greenspun


pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Schema management tool
Next
From: Andrew Sullivan
Date:
Subject: Re: Fwd: Start up question about triggers