Re: MS-SQL<->Postgres sync - Mailing list pgsql-sql

From Scott Marlowe
Subject Re: MS-SQL<->Postgres sync
Date
Msg-id 1152556251.6540.14.camel@state.g2switchworks.com
Whole thread Raw
In response to Re: MS-SQL<->Postgres sync  (Andrew Sullivan <ajs@crankycanuck.ca>)
Responses Re: MS-SQL<->Postgres sync  (Andrew Sullivan <ajs@crankycanuck.ca>)
List pgsql-sql
On Mon, 2006-07-10 at 11:25, Andrew Sullivan wrote:
> On Mon, Jul 10, 2006 at 11:27:52AM -0400, Kevin Bednar wrote:
> > Looking to keep 2 databases in sync, at least semi-realtime if possible, 
> > although running a batch update every x mins wouldn't be out of the 
> > question. One db is postgres and the other is ms-sql. It's to keep inventory 
> > in sync from 2 seperate locations, one being a brick and mortar store and 
> > the other an ecommerce system for a web site. Any and all help is 
> > appreciated since I can't find much of anything on syncing these 2 database 
> > systems!
> 
> I don't think there's actually any product that does this right now,
> unless you're willing to use some sort of statement replica system
> (which means you have to deal with failures in one database and not
> another).  Is the idea that this is multi-master?

I wonder if it would be possible to write a set of triggers for MSSQL
that would allow you to run slony daemons that connected to it and a
postgresql server and did replication.   Just mad scientisting for a
second.


pgsql-sql by date:

Previous
From: "Kevin Bednar"
Date:
Subject: Re: MS-SQL<->Postgres sync
Next
From: Alvaro Herrera
Date:
Subject: Re: SELECT substring with regex