pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Radlowski <adamr@informatyka.gdansk.pl>
To: Mary Anderson <maryfran@demog.berkeley.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: replication between linxu postgresql and Windows postgresql
Date: Tue, 26 Jun 2007 08:43:06 +0200
Message-ID: <4680B57A.2010402@informatyka.gdansk.pl> (raw)
In-Reply-To: <467FFCB9.70908@demog.berkeley.edu>
References: <467FFCB9.70908@demog.berkeley.edu>

Mary Anderson wrote:
> Hi all,
>    I am new to postgresql and have been called upon to set up a 
> database to be used by two groups.  One group (mine) is strictly a 
> UNIX shop.  The other group (theirs) is strictly a Windows shop.  What 
> is the best way to go.
>    First, does postgresql have replication and can i get it with the 
> open source database?
Yes. There Is some replication systems for PostgreSQL, the most popular 
is "Slony". You're from USA, so You don't have to worry about encodings 
and collate problems, when the are different in Windows server and 
UNIX/Linux. When You use specific encodings I think the best way is to 
use UTF8 in both servers - Windows and UNIX/Linux (if it is possible).
If You want to make Your own specific replication, You can use dblink 
module and some triggers. It sounds very complicate, but it is not. 
Sometimes the applications are working in very specific way, so 
classical replication is not very usable (not in PostgreSQL only).
>    Second, would replication work between a Linux postgresql and a 
> Windows postgresql?
I think - It's no problem.
>     What if I run postgresql on VMWare in the Windows shop?  Will 
> replication work?
Like above.
>
>     What about dumping the Linux database and restoring it on the 
> Windows database.  Will that work?
Yes. When You are using different encodings in these databases, the best 
way is to use dumps as SQL script restoring with psql program.
>
>     Opinions on any of this are welcome!
>
> Mary Anderson
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
>                http://www.postgresql.org/about/donate
>
>




view thread (6+ messages)

Message-ID: <4680B57A.2010402@informatyka.gdansk.pl>
Permalink:  ../4680B57A.2010402@informatyka.gdansk.pl/
Also on:    postgresql.org/message-id/4680B57A.2010402@informatyka.gdansk.pl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: adamr@informatyka.gdansk.pl, maryfran@demog.berkeley.edu
  Subject: Re: replication between linxu postgresql and Windows postgresql
  In-Reply-To: <4680B57A.2010402@informatyka.gdansk.pl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox