Received: from aua2.aua.auc.dk (aua2.aua.auc.dk [130.225.54.5]) by hub.org (8.10.1/8.10.1) with ESMTP id e8LDJGs82681 for ; Thu, 21 Sep 2000 09:19:16 -0400 (EDT) Received: from obel.auc.dk (cw.obel.auc.dk [192.168.64.3]) by aua.auc.dk (PMDF V5.2-32 #30369) with SMTP id <01JUFTWXRRKI8Y4Y9H@aua.auc.dk> for pgsql-general@postgresql.org; Thu, 21 Sep 2000 15:19:14 MET-DST Received: (qmail 29676 invoked from network); Thu, 21 Sep 2000 13:15:41 +0000 Received: from plc.obel.auc.dk (HELO cs.auc.dk) (192.168.64.31) by cw.obel.auc.dk with SMTP; Thu, 21 Sep 2000 13:15:41 +0000 Date: Thu, 21 Sep 2000 15:18:12 +0100 From: "Poul L. Christiansen" Subject: Re: replication To: Adam Lang Cc: PGSQL General Reply-to: PGSQL General Message-id: <39CA18A4.80D12421@cs.auc.dk> MIME-version: 1.0 X-Mailer: Mozilla 4.71 [en] (WinNT; U) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en,pdf References: <001d01c023ca$e37d9cc0$330a0a0a@Adam> X-Archive-Number: 200009/608 Adam Lang wrote: > > Are there any type of replication features in postgresql 7.0? > > I would like it where two databases have the same structure, but say at > midnight every night Database 1 synchs up database 2. > > Granted, I could always write code to do that, but it wouldn't be very > sophisticated. (If I coded it, would do something like find rows in table > 1 which aren't in the second database, append them database two, same with > the second table, etc.) And you would also have to check which records have been modified and replicate them. You are not the first person to ask for this feature and it is on the TODO list: http://www.postgresql.org/docs/pgsql/doc/TODO.detail/replication but it is categorized under "exotic features", so I don't know when we'll see it implemented :( But I think www.psql.com are working on replication right now. Poul L. Christiansen > > Adam Lang > Systems Engineer > Rutgers Casualty Insurance Company