Improve documentation.
This commit is contained in:
parent
787fc5b33c
commit
4e53b9074b
@ -86,7 +86,8 @@ Dequeue Options
|
|||||||
This attribute specifies the transactional behavior of the dequeue request.
|
This attribute specifies the transactional behavior of the dequeue request.
|
||||||
It should be one of the values :data:`~cx_Oracle.DEQ_ON_COMMIT` (default)
|
It should be one of the values :data:`~cx_Oracle.DEQ_ON_COMMIT` (default)
|
||||||
or :data:`~cx_Oracle.DEQ_IMMEDIATE`. This attribute is ignored when using
|
or :data:`~cx_Oracle.DEQ_IMMEDIATE`. This attribute is ignored when using
|
||||||
the :data:`~cx_Oracle.DEQ_BROWSE` mode.
|
the :data:`~cx_Oracle.DEQ_BROWSE` mode. Note the value of
|
||||||
|
:attr:`~Connection.autocommit` is always ignored.
|
||||||
|
|
||||||
|
|
||||||
.. attribute:: DeqOptions.wait
|
.. attribute:: DeqOptions.wait
|
||||||
@ -130,7 +131,8 @@ Enqueue Options
|
|||||||
|
|
||||||
This attribute specifies the transactional behavior of the enqueue request.
|
This attribute specifies the transactional behavior of the enqueue request.
|
||||||
It should be one of the values :data:`~cx_Oracle.ENQ_ON_COMMIT` (default)
|
It should be one of the values :data:`~cx_Oracle.ENQ_ON_COMMIT` (default)
|
||||||
or :data:`~cx_Oracle.ENQ_IMMEDIATE`.
|
or :data:`~cx_Oracle.ENQ_IMMEDIATE`. Note the value of
|
||||||
|
:attr:`~Connection.autocommit` is ignored.
|
||||||
|
|
||||||
|
|
||||||
.. _msgproperties:
|
.. _msgproperties:
|
||||||
|
|||||||
@ -176,11 +176,16 @@ combination may result in runtime errors. These include:
|
|||||||
Installing cx_Oracle on Linux
|
Installing cx_Oracle on Linux
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
|
This section discusses the generic installation method on Linux.
|
||||||
|
Using Python and cx_Oracle RPM packages on Oracle Linux is discussed
|
||||||
|
in :ref:`oraclelinux`.
|
||||||
|
|
||||||
Install cx_Oracle
|
Install cx_Oracle
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
Use Python's `Pip <http://pip.readthedocs.io/en/latest/installing/>`__
|
The generic way to install cx_Oracle on Linux is to use Python's `Pip
|
||||||
package to install cx_Oracle from `PyPI
|
<http://pip.readthedocs.io/en/latest/installing/>`__ package to
|
||||||
|
install cx_Oracle from `PyPI
|
||||||
<https://pypi.python.org/pypi/cx_Oracle>`__::
|
<https://pypi.python.org/pypi/cx_Oracle>`__::
|
||||||
|
|
||||||
python -m pip install cx_Oracle --upgrade
|
python -m pip install cx_Oracle --upgrade
|
||||||
@ -335,6 +340,19 @@ Python architecture.
|
|||||||
``TNS_ADMIN`` to that directory name.
|
``TNS_ADMIN`` to that directory name.
|
||||||
|
|
||||||
|
|
||||||
|
.. _oraclelinux:
|
||||||
|
|
||||||
|
Installing cx_Oracle on Oracle Linux
|
||||||
|
====================================
|
||||||
|
|
||||||
|
Python packages are available for Oracle Linux from Oracle's `public
|
||||||
|
yum repository <http://yum.oracle.com/>`__. Various versions
|
||||||
|
of Python are easily installed. Packages for cx_Oracle are also
|
||||||
|
available, making it easy to keep up to date.
|
||||||
|
|
||||||
|
Installation instructions are at `Oracle Linux for Python
|
||||||
|
Developers <https://yum.oracle.com/oracle-linux-python.html>`__.
|
||||||
|
|
||||||
Installing cx_Oracle on Windows
|
Installing cx_Oracle on Windows
|
||||||
===============================
|
===============================
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user