Re: DBlink, postgres to DB2 - Mailing list pgsql-general

From Pavel Stehule
Subject Re: DBlink, postgres to DB2
Date
Msg-id CAFj8pRBk2_EpLE3g4XRrtv2y3aYmYXYOcENZkHQ1pA4AmpoSBA@mail.gmail.com
Whole thread Raw
In response to DBlink, postgres to DB2  (Postgres India <pgbugindia@gmail.com>)
Responses Re: DBlink, postgres to DB2  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-general
Hi

try to use a Perl implementation https://github.com/davidfetter/DBI-Link

There is a DBD driver for DB2 http://search.cpan.org/dist/DBD-DB2/DB2.pod

Or you can use a mentioned fdw wrapper - there is ODBC wrapper https://wiki.postgresql.org/wiki/Foreign_data_wrappers#odbc_fdw and you can access DB2 via generic ODBC DB2 driver

Regards

Pavel



2014-10-22 12:45 GMT+02:00 Postgres India <pgbugindia@gmail.com>:
Hi, 
I am trying to connect DB2 from postgres using dblink, is there any configuration required at DB2 and postgres server.

If any command string please provide it.



Thanks
Manmohan. K


pgsql-general by date:

Previous
From: Rémi Cura
Date:
Subject: Re: DBlink, postgres to DB2
Next
From: Merlin Moncure
Date:
Subject: Re: DBlink, postgres to DB2