Skip to content

Commit 9ff772c

Browse files
Doc tweaks.
1 parent 242946b commit 9ff772c

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

doc/src/release_notes.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ Thin Mode Changes
2222
#) Emulate support for :meth:`Queue.deqmany()` with JSON payloads when using
2323
Oracle Database 21c by internally calling :meth:`Queue.deqone()` as many
2424
times as needed.
25+
#) Pooled connections that are no longer needed are now closed normally if
26+
possible instead of simply having the socket disconnected
27+
(`issue 393 <https://github.com/oracle/python-oracledb/issues/393>`__).
2528
#) Fixed bug when a connection pool internally makes an attempt to ping a
2629
closed connection
2730
(`issue 482 <https://github.com/oracle/python-oracledb/issues/482>`__).
@@ -33,11 +36,8 @@ Thin Mode Changes
3336
``https_proxy`` parameter can successfully perform name resolution.
3437
#) Fixed bug resulting in explicit request boundaries to aid planned database
3538
maintenance not being sent when using connection pools with asyncio.
36-
#) Pooled connections that are no longer needed are now closed normally if
37-
possible instead of simply having the socket disconnected
38-
(`issue 393 <https://github.com/oracle/python-oracledb/issues/393>`__).
3939
#) Fixed bug resulting in ``TypeError`` when using
40-
:attr:`DeqOptions.correlation`` for buffered delivery mode.
40+
:attr:`DeqOptions.correlation` for buffered delivery mode.
4141

4242
Thick Mode Changes
4343
++++++++++++++++++
@@ -54,8 +54,6 @@ Thick Mode Changes
5454
Common Changes
5555
++++++++++++++
5656

57-
#) Added parameter ``pool_name`` to connection and pool creation methods to
58-
support Oracle Database 23ai multi-pool :ref:`drcp`.
5957
#) Added Instance Principal authentication support when using
6058
:ref:`OCI Cloud Native Authentication <cloudnativeauthoci>`.
6159
#) Improvements to :ref:`data frames <dataframeformat>`:
@@ -65,16 +63,18 @@ Common Changes
6563
- Fixed bug on Windows when fetching dates prior to 1970 and after 2038
6664
(`issue 483 <https://github.com/oracle/python-oracledb/issues/483>`__).
6765

66+
#) Added parameter ``pool_name`` to connection and pool creation methods to
67+
support Oracle Database 23ai multi-pool :ref:`drcp`.
6868
#) Use GitHub Arm Linux runner for builds. Supplied by wojiushixiaobai
6969
(`PR 496 <https://github.com/oracle/python-oracledb/pull/496>`__).
7070
#) Fix bug with GitHub build action merge artifacts step
7171
(`issue 495 <https://github.com/oracle/python-oracledb/issues/495>`__).
7272
#) Error ``DPY-2064: parameter 'max' should be greater than or equal to
7373
parameter 'min'`` is now raised when a call to
7474
:meth:`oracledb.create_pool()`, :meth:`oracledb.create_pool_async()`
75-
or :meth:`oracledb.PoolParams()` is made with parameter "max" less than the
76-
parameter "min". Previously python-oracledb Thin mode did not raise an
77-
error and python-oracledb Thick mode raised the exception
75+
or :meth:`oracledb.PoolParams()` is made with parameter ``max`` less than
76+
the parameter ``min``. Previously python-oracledb Thin mode did not raise
77+
an error and python-oracledb Thick mode raised the exception
7878
``ORA-24413: Invalid number of sessions specified``.
7979
#) Improved the test suite and documentation.
8080

doc/src/user_guide/connection_handling.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3084,7 +3084,8 @@ specifying a class name, you can call:
30843084
cclass="MYAPP")
30853085
30863086
If ``cclass`` is not set, then the pooled server sessions will not be reused
3087-
optimally, and the DRCP statistic views may record large values for NUM_MISSES.
3087+
optimally, and the :ref:`DRCP statistic views <monitoringdrcp>` may record
3088+
large values for NUM_MISSES.
30883089

30893090
**DRCP Connection Purity**
30903091

tests/README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ This directory contains the test suite for python-oracledb.
99

1010
python create_schema.py
1111

12-
2. Run the test suite by issuing the following command in the top-level
12+
2. Install tox:
13+
14+
python -m pip install tox
15+
16+
3. Run the test suite by issuing the following command in the top-level
1317
directory of your oracledb installation:
1418

15-
tox
19+
python -m tox
1620

1721
This will build the module in an independent environment and run the test
1822
suite using the module that was just built in that environment.
@@ -25,7 +29,7 @@ This directory contains the test suite for python-oracledb.
2529

2630
python test_1000_module.py
2731

28-
3. After running the test suite, the schemas can be dropped by running the
32+
4. After running the test suite, the schemas can be dropped by running the
2933
Python script [drop_schema.py][3]. The script requires administrative
3034
privileges and will prompt for these credentials as well as the names of
3135
the schemas that will be dropped, unless a number of environment variables
@@ -34,12 +38,12 @@ This directory contains the test suite for python-oracledb.
3438

3539
python drop_schema.py
3640

37-
4. Enable tests that require extra configuration
41+
5. Enable tests that require extra configuration
3842

3943
The following test(s) are automatically skipped if their required
4044
environment variable(s) and setup is not available.
4145

42-
4.1 test_5000_externalauth.py
46+
5.1 test_5000_externalauth.py
4347

4448
This test aims to test the usage of external authentication.
4549

0 commit comments

Comments
 (0)