How to read oracle table's data from postgre

From: venkatrao(dot)b(at)tcs(dot)com
To: pgsql-novice(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: How to read oracle table's data from postgre
Date: 2010-03-08 05:10:04
Message-ID: OF64A93E6B.2AC70C6F-ON652576E0.001B996F-652576E0.001C62EE@tcs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

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)

Thanks in advance..

Regards,
Venkat
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2010-03-08 06:04:36 Re: How to read oracle table's data from postgre
Previous Message Tom Lane 2010-03-08 04:05:04 Re: psql uses default user from kerberos ticket not the current user

Browse pgsql-novice by date

  From Date Subject
Next Message John R Pierce 2010-03-08 06:04:36 Re: How to read oracle table's data from postgre
Previous Message Tom Lane 2010-03-06 15:42:06 Re: $libdir not working