Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id D134C9FB987 for ; Tue, 10 Jul 2007 15:11:51 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 52402-05 for ; Tue, 10 Jul 2007 15:11:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 585F79FB2F2 for ; Tue, 10 Jul 2007 15:11:48 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from zbasel.fortytwo.ch (zbasel.fortytwo.ch [193.138.215.60]) by svr4.postgresql.org (Postfix) with ESMTP id 879BD5AF8C7 for ; Tue, 10 Jul 2007 18:11:47 +0000 (GMT) Received: from syydelaervli.fortytwo.ch (zux221-209-186.adsl.green.ch [81.221.209.186]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "syydelaervli.fortytwo.ch", Issuer "Mail Relay CA" (verified OK)) by zbasel.fortytwo.ch (Postfix) with ESMTP id D36E6219 for ; Tue, 10 Jul 2007 20:11:44 +0200 (CEST) Received: from localhost.localdomain (altfrangg.fortytwo.ch [192.168.1.17]) by syydelaervli.fortytwo.ch (Postfix) with ESMTP id 756612806 for ; Tue, 10 Jul 2007 20:11:44 +0200 (CEST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 495A04CC for ; Tue, 10 Jul 2007 20:11:44 +0200 (CEST) From: Adrian von Bidder To: pgsql-general@postgresql.org Subject: Re: PostGreSQL Replication Date: Tue, 10 Jul 2007 20:11:43 +0200 User-Agent: KMail/1.9.7 References: <1183810616.126249.189310@d55g2000hsg.googlegroups.com> In-Reply-To: <1183810616.126249.189310@d55g2000hsg.googlegroups.com> X-Face: j~5v(Bp|w-}v-^x(PbHz\0k(_hhT~N>n|%e\0cGUJMbW^V}}1H&D0"=?utf-8?q?19u8=0A=09XGq=3D=5BNV=5B8=5D=24jwG?=)]ii@jcTZt)Geu})D+lw_C$"#$M^MNTIIRUZ!m MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3861842.KTOMJIDKCb"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200707102011.43774.avbidder@fortytwo.ch> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/430 X-Sequence-Number: 117031 --nextPart3861842.KTOMJIDKCb Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 the database layer. The application can know much more about how data is=20 modified and how it can be modified safely so a later merge operation won't= =20 fail, or how merge conflicts (however these are defined) can be safely=20 handled. The database must assume that a user can modify "anything" during= =20 the offline period, and can't assume anything about what to do on merge=20 operations. cheers =2D- vbi =2D-=20 The days just prior to marriage are like a snappy introduction to a tedious book. --nextPart3861842.KTOMJIDKCb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: get my key from http://fortytwo.ch/gpg/92082481 iEYEABECAAYFAkaTy98ACgkQi6Qxi+Wn99acGQCeNX9W12DGbJMoLo8jpLniVHvZ 4akAn3nms1Vt/0ooMKi4NCQPRUinVrMP =5VlT -----END PGP SIGNATURE----- --nextPart3861842.KTOMJIDKCb--