Or try:
http://pgreplicator.sourceforge.net/
Haven't used it myself yet, but it looks pretty good...
> > Now, erserver seems to work, but it needs a bit hacking around
that I
> > hadn't done yet. Maybe when I get it working I'll see to writing
> > something. In the mean time, source code is the only thing that
can help
> > you.
>
> I forgot to explain: erserver works well "out of the box" for one
> master / one slave setup. If you need more than one slave, you need
some
> hacking around. If you need more than one master, I doubt it'll work
in
> its current form.
>
> --
> Alvaro Herrera (<alvherre[@]atentus.com>)
>
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
>