pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedreplication between linxu postgresql and Windows postgresql
6+ messages / 5 participants
[nested] [flat]
* replication between linxu postgresql and Windows postgresql
@ 2007-06-25 17:34 Mary Anderson <maryfran@demog.berkeley.edu>
0 siblings, 2 replies; 6+ messages in thread
From: Mary Anderson @ 2007-06-25 17:34 UTC (permalink / raw)
To: pgsql-admin
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?
Second, would replication work between a Linux postgresql and a
Windows postgresql?
What if I run postgresql on VMWare in the Windows shop? Will
replication work?
What about dumping the Linux database and restoring it on the
Windows database. Will that work?
Opinions on any of this are welcome!
Mary Anderson
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: replication between linxu postgresql and Windows postgresql
@ 2007-06-25 17:43 Shoaib Mir <shoaibmir@gmail.com>
parent: Mary Anderson <maryfran@demog.berkeley.edu>
1 sibling, 1 reply; 6+ messages in thread
From: Shoaib Mir @ 2007-06-25 17:43 UTC (permalink / raw)
To: Mary Anderson <maryfran@demog.berkeley.edu>; +Cc: pgsql-admin
Slony can handle this all.
If you do not want to use Slony, you can write your own triggers using
dblink module to get the data across.
--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)
On 6/25/07, Mary Anderson <maryfran@demog.berkeley.edu> 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?
> Second, would replication work between a Linux postgresql and a
> Windows postgresql?
> What if I run postgresql on VMWare in the Windows shop? Will
> replication work?
>
> What about dumping the Linux database and restoring it on the
> Windows database. Will that work?
>
> 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
>
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: replication between linxu postgresql and Windows postgresql
@ 2007-06-25 18:42 Chris Browne <cbbrowne@acm.org>
parent: Shoaib Mir <shoaibmir@gmail.com>
0 siblings, 2 replies; 6+ messages in thread
From: Chris Browne @ 2007-06-25 18:42 UTC (permalink / raw)
To: pgsql-admin
shoaibmir@gmail.com ("Shoaib Mir") writes:
> Slony can handle this all.
No it can't. It will not work with versions of PostgreSQL earlier
than 7.3.3, because it requires namespace functionality that did not
stabilize until that point.
--
(reverse (concatenate 'string "moc.enworbbc" "@" "enworbbc"))
http://www3.sympatico.ca/cbbrowne/lsf.html
Rules of the Evil Overlord #147. "I will classify my lieutenants in
three categories: untrusted, trusted, and completely trusted.
Promotion to the third category can only be awarded posthumously."
<http://www.eviloverlord.com/;
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: replication between linxu postgresql and Windows postgresql
@ 2007-06-25 19:56 Andrew Sullivan <ajs@crankycanuck.ca>
parent: Chris Browne <cbbrowne@acm.org>
1 sibling, 0 replies; 6+ messages in thread
From: Andrew Sullivan @ 2007-06-25 19:56 UTC (permalink / raw)
To: pgsql-admin
On Mon, Jun 25, 2007 at 02:42:04PM -0400, Chris Browne wrote:
> No it can't. It will not work with versions of PostgreSQL earlier
> than 7.3.3, because it requires namespace functionality that did not
> stabilize until that point.
But if you're running on <7.3.3, you really, really need to upgrade
anyway. And you could upgrade to the latest 7.3 and get the Slony
functionality.
A
--
Andrew Sullivan | ajs@crankycanuck.ca
The whole tendency of modern prose is away from concreteness.
--George Orwell
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: replication between linxu postgresql and Windows postgresql
@ 2007-06-25 20:14 Shoaib Mir <shoaibmir@gmail.com>
parent: Chris Browne <cbbrowne@acm.org>
1 sibling, 0 replies; 6+ messages in thread
From: Shoaib Mir @ 2007-06-25 20:14 UTC (permalink / raw)
To: Chris Browne <cbbrowne@acm.org>; +Cc: pgsql-admin
I didnt meant for the version, what i meant was all on latest.
--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)
On 6/25/07, Chris Browne <cbbrowne@acm.org> wrote:
>
> shoaibmir@gmail.com ("Shoaib Mir") writes:
> > Slony can handle this all.
>
> No it can't. It will not work with versions of PostgreSQL earlier
> than 7.3.3, because it requires namespace functionality that did not
> stabilize until that point.
> --
> (reverse (concatenate 'string "moc.enworbbc" "@" "enworbbc"))
> http://www3.sympatico.ca/cbbrowne/lsf.html
> Rules of the Evil Overlord #147. "I will classify my lieutenants in
> three categories: untrusted, trusted, and completely trusted.
> Promotion to the third category can only be awarded posthumously."
> <http://www.eviloverlord.com/;
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: replication between linxu postgresql and Windows postgresql
@ 2007-06-26 06:43 Adam Radlowski <adamr@informatyka.gdansk.pl>
parent: Mary Anderson <maryfran@demog.berkeley.edu>
1 sibling, 0 replies; 6+ messages in thread
From: Adam Radlowski @ 2007-06-26 06:43 UTC (permalink / raw)
To: Mary Anderson <maryfran@demog.berkeley.edu>; +Cc: pgsql-admin
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
>
>
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2007-06-26 06:43 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-06-25 17:34 replication between linxu postgresql and Windows postgresql Mary Anderson <maryfran@demog.berkeley.edu>
2007-06-25 17:43 ` Shoaib Mir <shoaibmir@gmail.com>
2007-06-25 18:42 ` Chris Browne <cbbrowne@acm.org>
2007-06-25 19:56 ` Andrew Sullivan <ajs@crankycanuck.ca>
2007-06-25 20:14 ` Shoaib Mir <shoaibmir@gmail.com>
2007-06-26 06:43 ` Adam Radlowski <adamr@informatyka.gdansk.pl>
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