X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 6C61D9FA5E6 for ; Tue, 27 Jun 2006 09:13:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 87338-01 for ; Tue, 27 Jun 2006 09:13:32 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by postgresql.org (Postfix) with ESMTP id 17A1D9FA10A for ; Tue, 27 Jun 2006 09:13:33 -0300 (ADT) Received: from [192.168.7.2] ([71.101.5.108]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J1I00IOEPYJR9I3@vms048.mailsrvcs.net> for pgsql-sql@postgresql.org; Tue, 27 Jun 2006 07:13:31 -0500 (CDT) Date: Tue, 27 Jun 2006 08:14:34 -0400 From: Joe Subject: Re: Fwd: Start up question about triggers In-reply-to: <20060627113936.GA27997@phlogiston.dyndns.org> To: Andrew Sullivan Cc: pgsql-sql@postgresql.org Message-id: <44A1212A.1050500@freedomcircle.net> Organization: Freedom Circle, LLC MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <20060626144309.GA20519@phlogiston.dyndns.org> <200606270816.k5R8GHfk023493@auth-smtp.hol.gr> <20060627113936.GA27997@phlogiston.dyndns.org> User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/284 X-Sequence-Number: 25520 Andrew Sullivan wrote: > On Tue, Jun 27, 2006 at 11:16:17AM +0300, Forums @ Existanze wrote: >> I looked into slony, I have a question though, how would I go about >> controlling slony via a jdbc driver? See this whole problem has arisen >> because for some reason my client wants to keep to separate databases in two >> separate locations with the same data. So he would call this partiall backup >> function via a GUI client we provide, and with this information he would go >> to the same GUI client in this other location and import this partiall >> backup. > > It is totally normal to want to keep two databases in two locations: > that's a matter of safety. Slony does it automatically, as long as > the daemon is running. No need to control it. But with file-based log shipping (see http://linuxfinances.info/info/logshipping.html) one could write a Java app to control when the updates are applied. Joe