How to read oracle table's data from postgre - Mailing list pgsql-general

From venkatrao.b@tcs.com
Subject How to read oracle table's data from postgre
Date
Msg-id OF64A93E6B.2AC70C6F-ON652576E0.001B996F-652576E0.001C62EE@tcs.com
Whole thread Raw
Responses Re: How to read oracle table's data from postgre  (John R Pierce <pierce@hogranch.com>)
Re: [NOVICE] How to read oracle table's data from postgre  (Devrim GÜNDÜZ <devrim@gunduz.org>)
List pgsql-general

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


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql uses default user from kerberos ticket not the current user
Next
From: John R Pierce
Date:
Subject: Re: How to read oracle table's data from postgre