Re: DBLINK - PostgreSQL to ORACLE

Поиск
Список
Период
Сортировка
От desmodemone
Тема Re: DBLINK - PostgreSQL to ORACLE
Дата
Msg-id CAEs9oFnyvA0hY62NOqn94OMTcK8pV5mVEpyAm-RgJY451a2NgQ@mail.gmail.com
обсуждение исходный текст
Ответ на DBLINK - PostgreSQL to ORACLE  ("Ferrell, Denise CTR NSWCDD, Z11" <denise.ferrell.ctr@navy.mil>)
Список pgsql-admin


2014-10-20 20:43 GMT+02:00 Ferrell, Denise CTR NSWCDD, Z11 <denise.ferrell.ctr@navy.mil>:
Using PostgreSQL 9.3.4 on Linux Red-Hat platform.


Is there a way to use dblink to link from a PostgreSQL database to an Oracle database?

Tried the following and it's returning a SQL state: 08001

SELECT * from dblink('host=<hostname> dbname=<database> port=1521 user=<username> password=<password>',
'select column1,
        Column2,
        Column3
FROM <schema.table>') as t1 (column1 name, column2 . . .);


Thank you in advance.



Hello Denise,
                             you could use postgresql fdw  https://wiki.postgresql.org/wiki/Foreign_data_wrappers
Regards

--
Matteo Durighetto

- - - - - - - - - - - - - - - - - - - - - - -

Italian PostgreSQL User Group
Italian Community for Geographic Free/Open-Source Software

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Gilberto Castillo"
Дата:
Сообщение: Re: DBLINK - PostgreSQL to ORACLE
Следующее
От:
Дата:
Сообщение: Single Database Recovery?