From: | "Shridhar Daithankar" <shridhar_daithankar(at)persistent(dot)co(dot)in> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: LinkServer |
Date: | 2003-07-08 06:58:55 |
Message-ID: | 3F0AB907.2602.4FE6E03@localhost |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On 8 Jul 2003 at 12:03, Madhavi Daroor wrote:
> Hi All,
>
> How do I link a postgres server and an Oracle server and get the data from
> an Oracle sever from a Postgres server? I'm using Postgres 7.2.3 on Red Hat
> linux 7.2
>
> Does postgres have any function to do so? And what other configuration
> changes are need to achieve this?
Well no. There is nothing out of box that would help here.
You can try some approaches,
1. Dump oracle data in text format and load with copy.
2. Create a postgresql function in C which would also link against oracle
client libraries, query the data and insert in postgresql database.
3. If writing a postgresql C function seems dounting to you, you can try a
client application which links against both postgresql and oracle client
libraries and transfer the data in between.
(1) is obvious. Other two might be a choice if you have special situation.
HTH
Bye
Shridhar
--
We have found all life forms in the galaxy are capable of superiordevelopment.
-- Kirk, "The Gamesters of Triskelion", stardate 3211.7
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2003-07-08 07:55:04 | Re: Fw: application compatibility with Oracle |
Previous Message | Madhavi Daroor | 2003-07-08 06:33:42 | LinkServer |
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2003-07-08 08:03:35 | Re: LinkServer |
Previous Message | Madhavi Daroor | 2003-07-08 06:33:42 | LinkServer |