Re: Replicating Binary Data from MS SQL 2000 to PG 8.2

From: Richard Huxton <dev(at)archonet(dot)com>
To: Mike Poe <trolling4dollars(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Replicating Binary Data from MS SQL 2000 to PG 8.2
Date: 2007-01-22 09:56:42
Message-ID: 45B48A5A.8080402@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mike Poe wrote:
> The designer of the SQL 2000 database decided to store binary data
> (images) directly in this table. When I attempt to replicate it to my
> PG database, SQL replication agent throws an error:
>
> The process encountered invalid column data in bcp file
> 'path\to\bcpfile.bcp'.
>
> I assume this has to do with the binary data in the table.

Hmm - what are the types involved at the PG end, and how is the data
formatted in the .bcp file?

I'd set up a sixth table with one row and one column and try replicating
that to make it easier to control.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Russell Smith 2007-01-22 09:57:55 Re: STOP all user access except for admin for a few minutes?
Previous Message Alban Hertroys 2007-01-22 09:43:38 Re: Installing Postegres side-by-side with M$ SQL server