From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Mary Anderson <maryfran@demog.berkeley.edu>
To: pgsql-admin@postgresql.org
Subject: Re: replicating postgresql database to ms-sql database
Date: Fri, 06 Jul 2007 13:15:40 -0500
Message-ID: <468E407C.EE98.0025.0@wicourts.gov> (raw)
In-Reply-To: <468E8080.4030901@demog.berkeley.edu>
References: <468E8080.4030901@demog.berkeley.edu>
>>> On Fri, Jul 6, 2007 at 12:48 PM, in message
<468E8080.4030901@demog.berkeley.edu>, Mary Anderson
<maryfran@demog.berkeley.edu> wrote:
>
> I have been asked if it is possible to asynchronously replicate a
> postgresql database to ms-sql. My answer is yes, provided postgresql
> ORM features aren't used in the design of the database. One does an
> ascii dump of the tables and then bulk loads them into MSSQL. The
> database in question will be about 10G. Is there a sane way to do this?
Look at pg_dump and the switches to cause it to generate INSERT
statements instead of COPY statements. That has worked for me.
-Kevin
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: Kevin.Grittner@wicourts.gov, maryfran@demog.berkeley.edu
Subject: Re: replicating postgresql database to ms-sql database
In-Reply-To: <468E407C.EE98.0025.0@wicourts.gov>
* 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