Re: Replicating SQL 2000 to PostgreSQL 9.x

From: Edson Richter <edsonrichter(at)hotmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Replicating SQL 2000 to PostgreSQL 9.x
Date: 2014-01-30 12:02:05
Message-ID: BLU0-SMTP161DE101D38713EF08ADE22CFAF0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Em 29/01/2014 12:42, Edson Richter escreveu:
> I'm trying to setup SQL 2000 replication to PostgreSQL 9.x, and follow
> those steps:
>
> 1) setup the publisher and distributor in SQL 2000
> 2) setup the article (12 tables)
> 3) setup the linked server to PostgreSQL and executed some queries to
> test (with success)
> 4) created the 12 tables in PostgreSQL using correct data types (I've
> used Microsoft guide to Oracle compatibility, which seems logical to me)
> 5) setup the Push Subscriber without creating schema/tables
>
> After few seconds, it fails, and the only error I've have is quite
> vague (is a generic "An access violation occurred" error).
> I've tried to configure PostgreSQL ODBC driver for logging (without
> success: no logs generated).
>
> Is there someone successfully setup SQL 2k to PostgreSQL replication
> that could share some thoughts?
>
> Thanks,
>
> Edson
>
>
Problem solved!

Just in case, if someone faces this issue in future, it is already
documented here :-). I could not find any useful tip on the internet,
and saw many people saying "problem solved" but not clue about what was
done, so here it is:

Updating ODBC driver from 8.04 to 9.01 solved the Access Violation
error. Be warned, latest ODBC drivers will not run on Windows 2000 (some
C header reference DLL that only exists in XP and later). They have to
be recompiled with special headers in order to work.

Regards,

Edson Richter

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ovid 2014-01-30 13:29:30 permission denied for relation
Previous Message patrick keshishian 2014-01-30 08:13:32 Re: Call for design: PostgreSQL mugs