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(at)gmail(dot)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
>
>