Re: pg_comparator table diff/sync

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Andrew Hammond <andrew(dot)george(dot)hammond(at)gmail(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_comparator table diff/sync
Date: 2007-05-15 17:34:22
Message-ID: Pine.LNX.4.64.0705151927410.8266@briare.cri.ensmp.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> On May 11, 1:16 pm, "Erik 2.0" <e(dot)(dot)(dot)(at)q32(dot)com> wrote:
>> Is pg_comparator the only project out there that does what it does? I
>> tried patching it, and it seems OK, but I'm not terribly confident in
>> my patch. I'm hoping someone will tell me there's a great table-
>> driven rsync out there that everyone uses and I just don't know
>> about.
>
> Slony? But perhaps I'm not understanding what pg_comparator does.

Erik was talking about <http://pgfoundry.org/projects/pg-comparator/>

It just compares table contents (not schema), to point out differing
tuples in two remote locations. Next step is to use the information to
generate the appropriate insert/update/delete statements to resynchronize
the tables, if they are out of sync for some reason and you do not want to
dump/restore the whole stuff.

--
Fabien.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2007-05-15 17:41:01 Re: Managing the community information stream
Previous Message Alvaro Herrera 2007-05-15 17:34:01 Re: Invalid magic number in log file?