From: | "Gilberto Castillo" <gilberto(dot)castillo(at)etecsa(dot)cu> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: FDW for Oracle |
Date: | 2015-02-19 22:15:17 |
Message-ID: | 46220.192.168.207.54.1424384117.squirrel@192.168.91.6 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello
This is me problem:
fdw_test=# SELECT oracle_diag();
oracle_diag
---------------------------------------------------------------------------------------------------------------
oracle_fdw 1.2.0, PostgreSQL 9.1.8, Oracle client 11.2.0.1.0,
ORACLE_HOME=/opt/oracle/, TNS_ADMIN=/opt/oracle
(1 row)
In PostgreSQL:
SELECT pg_backend_pid();
5543
In a second session in the shell:
ps -p5543 -oppid=
5290
As root or PostgreSQL OS user:
cat /proc/5290/environ | xargs -0 -n1
LD_LIBRARY_PATH=/usr/lib:/opt/PostgreSQL/9.1/lib:/opt/oracle/instantclient:$LD_LIBRARY_PATH
HOME=/opt/PostgreSQL/9.1
TNS_ADMIN=/opt/oracle
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/PostgreSQL/9.1/bin:/usr/lib/postgresql/9.1/bin:/opt/PostgreSQL/9.1/bin/bin
ORACLE_HOME=/opt/oracle
DYLD_LIBRARY_PATH=/opt/oracle/instantclient:$ORACLE_HOME
My error is: OCIEnvCreate
¿What is the solution? Please.
Saludos,
Gilberto Castillo
La Habana, Cuba
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 179 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Ants Aasma | 2015-02-19 22:19:21 | Re: Allow "snapshot too old" error, to prevent bloat |
Previous Message | Corey Huinker | 2015-02-19 22:06:31 | dblink: add polymorphic functions. |