Database link in windows server x64 to postgres database.
Hello,
I created a database link from oracle database to postgress, but when I run a select, I receive the error:
*
ERROR at line 1:
ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=desa440)(PORT=1521))(CONNECT_DATA=
(SID=pg_link)))
ORA-02063: preceding line from POSTGRES_LNK
Process ID: 6396
Session ID: 9 Serial number: 41
The Database Server is 11.2.0.4.0 in windows x64.
The PostgreSQL is 11.8.
I did the folowing steps:
- Install odbc driver for postgres psqlodbc_12_02_0000-x64.
- Configure system dns on odbc 64 bits: PG_LINK, and tested it.