pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian von Bidder <avbidder@fortytwo.ch>
To: pgsql-general@postgresql.org
Subject: Re: PostGreSQL Replication
Date: Tue, 10 Jul 2007 20:11:43 +0200
Message-ID: <200707102011.43774.avbidder@fortytwo.ch> (raw)
In-Reply-To: <1183810616.126249.189310@d55g2000hsg.googlegroups.com>
References: <1183810616.126249.189310@d55g2000hsg.googlegroups.com>

On Saturday 07 July 2007 14.16:56 Gabriele wrote:
> I know this is a delicate topic which must be approached cautiously.
>
> Let's have a server which feed data to multiple slaves, usually using
> direct online connections. Now, we may want to allow those client to
> sync the data to a local replica, work offline and then resync the
> data back to the server. Which is the easiest way to approach this
> problem?

Sounds like something you'd want to handle within the application, not at 
the database layer.  The application can know much more about how data is 
modified and how it can be modified safely so a later merge operation won't 
fail, or how merge conflicts (however these are defined) can be safely 
handled.  The database must assume that a user can modify "anything" during 
the offline period, and can't assume anything about what to do on merge 
operations.

cheers
-- vbi

-- 
The days just prior to marriage are like a snappy introduction to a
tedious book.

Attachments:

  signature.asc (application/pgp-signature, 253B) download

view thread (91+ messages)  latest in thread

Message-ID: <200707102011.43774.avbidder@fortytwo.ch>
Permalink:  ../200707102011.43774.avbidder@fortytwo.ch/
Also on:    postgresql.org/message-id/200707102011.43774.avbidder@fortytwo.ch

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: avbidder@fortytwo.ch
  Subject: Re: PostGreSQL Replication
  In-Reply-To: <200707102011.43774.avbidder@fortytwo.ch>
  References: <1183810616.126249.189310@d55g2000hsg.googlegroups.com> <200707102011.43774.avbidder@fortytwo.ch>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox