Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0RICVq70373 for ; Sat, 27 Jan 2001 13:12:31 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id NAA11578; Sat, 27 Jan 2001 13:12:23 -0500 (EST) From: Bruce Momjian Message-Id: <200101271812.NAA11578@candle.pha.pa.us> Subject: Re: Some thoughts on replication In-Reply-To: <01012712451501.18127@linux> "from Dirk Heinrichs at Jan 27, 2001 12:45:15 pm" To: Dirk Heinrichs Date: Sat, 27 Jan 2001 13:12:23 -0500 (EST) CC: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200101/177 X-Sequence-Number: 554 > 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? The triggers. > > 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. Yes, that is a data partitioning feature of replication. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026