Re: How to read oracle table's data from postgre

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to read oracle table's data from postgre
Date: 2010-03-08 06:04:36
Message-ID: 4B949374.5000604@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

venkatrao(dot)b(at)tcs(dot)com wrote:
>
> Hello ,
>
> I want to read oracle database table data from postgre. (like in
> oracle we can use database links, is there something like this
> available in postgre).
> I tried below -
>
> select dblink_connect('host=.., dbname=..user=.. pwd=..'); but it is
> giving error database refused connection. Do i need to add anything in
> oracle datbase server tnsnames. how should be this entry.(since here
> we are connecting oracle to postgre and not the oracle to oracle)

postgresql's dblink functions can only connect to other postgresql
databases. it has no idea how to connect to Oracle, or any other sort
of database.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2010-03-08 06:07:02 Re: [NOVICE] How to read oracle table's data from postgre
Previous Message venkatrao.b 2010-03-08 05:10:04 How to read oracle table's data from postgre

Browse pgsql-novice by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2010-03-08 06:07:02 Re: [NOVICE] How to read oracle table's data from postgre
Previous Message venkatrao.b 2010-03-08 05:10:04 How to read oracle table's data from postgre