Skip to content

Commit 335d868

Browse files
Documentation tweaks.
1 parent 6ddb904 commit 335d868

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

doc/src/user_guide/globalization.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,17 @@ Thin Mode Locale-aware Number and Date Conversions
107107
All NLS environment variables are ignored by the python-oracledb Thin mode.
108108
Also the ``ORA_SDTZ`` and ``ORA_TZFILE`` variables are ignored.
109109

110+
.. note::
111+
112+
Trying to access TIMESTAMP WITH TIME ZONE data that contains a named time
113+
zone will throw ``DPY-3022: named time zones are not supported in thin
114+
mode``. Data stored with a numeric offset such as ``+00:00`` can be
115+
fetched.
116+
110117
In the python-oracledb Thin mode, output type handlers need to be used to
111-
perform similar conversions. The examples below show a simple conversion and
112-
also how the Python locale module can be used. Type handlers like those below
113-
can also be used in python-oracledb Thick mode.
118+
perform date and number localizations. The examples below show a simple
119+
conversion and also how the Python locale module can be used. Type handlers
120+
like those below can also be used in python-oracledb Thick mode.
114121

115122
To convert numbers:
116123

doc/src/user_guide/installation.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,11 @@ In order to install using the source on GitHub, use the following commands::
797797
python setup.py build
798798
python setup.py install
799799

800+
If you do not have access to system directories, the ``--user`` option can be
801+
used to install into a local directory::
802+
803+
python setup.py install --user
804+
800805
Note that if you download a source zip file directly from GitHub then you will
801806
also need to download an `ODPI-C <https://github.com/oracle/odpi>`__ source zip
802807
file and put the extracted contents inside the "odpi" subdirectory, for example
@@ -810,12 +815,6 @@ can be installed with::
810815
python setup.py build
811816
python setup.py install
812817

813-
If you do not have access to system directories, the ``--user`` option can be
814-
used to install into a local directory::
815-
816-
python setup.py install --user
817-
818-
819818
Install Using Source from PyPI
820819
------------------------------
821820

0 commit comments

Comments
 (0)