[cx-oracle-users] Choosing client libraries
Brought to you by:
atuining
From: <pw...@re...> - 2006-01-25 17:01:52
|
How can I know, at runtime, with which version of Oracle libs my cx_Oracle is linked? >>> print cx_Oracle.version HEAD >>> print cx_oracle.apilevel 2.0 >>> print cx_oracle.buildtime January 26, 2005 14:37:48 I am confused by your statement that cx_Oracle is linked to a specific Oracle client. If I have Oracle 8.1 client in the PATH when I run my Python script using cx_Oracle I can access an Oracle 8.1.7 running on an AIX box. If I have the Oracle XE directory in the PATH, I can access the Oracle 10g XE running on the local machine. With respect to the suggestion that cx_Oracle have a set of redirection calls to connect with the Oracle libs, I do not think that the overhead of a function call will be significant. |