Received: from downtown.oche.de (downtown.oche.de [194.94.253.3]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0RC8wq43890 for ; Sat, 27 Jan 2001 07:08:58 -0500 (EST) (envelope-from heini@downtown.oche.de) Received: (from uucp@localhost) by downtown.oche.de (8.9.3/8.9.3/Debian 8.9.3-21) with UUCP id NAA24887 for pgsql-admin@postgresql.org; Sat, 27 Jan 2001 13:10:01 +0100 Received: from localhost (localhost [[UNIX: localhost]]) by linux.home.de (8.11.0/8.8.7) id f0RBjGF18243 for pgsql-admin@postgresql.org; Sat, 27 Jan 2001 12:45:16 +0100 From: Dirk Heinrichs To: pgsql-admin@postgresql.org Subject: Re: Some thoughts on replication Date: Sat, 27 Jan 2001 12:45:15 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="US-ASCII" References: <200101262320.SAA17413@candle.pha.pa.us> In-Reply-To: <200101262320.SAA17413@candle.pha.pa.us> MIME-Version: 1.0 Message-Id: <01012712451501.18127@linux> Content-Transfer-Encoding: 8bit X-Archive-Number: 200101/173 X-Sequence-Number: 550 Am Samstag, 27. Januar 2001 00:20 schrieb Bruce Momjian: > > Have you looked at the replication code that is in contrib? > > Yes, your description sounds just like it. Hmm, which of the two? The trigger mechanism? In the meantime, a third solution came to my mind: In case somebody has to take a database with him on a laptop, it is hard to do replication and avoid conflicts. I once saw an insurance application, based on FoxPro, where the insurance agents could select the data of the customers he wanted to visit and and create a so called child database, which had exactly he same tables as the "mother" and exactly those rows with data related to the selected customers. Those rows where the marked as readonly in the mother database, so that only the data in the child db could be changed. Later, the changes in th child db was reintegrated into the mother db and the child was deleted. But I don't know if this was a feature of the application or of the database system itself. Bye... Dirk