]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
use oracle.INTERVAL for generic interval
authorindivar <indimishra@gmail.com>
Fri, 20 Oct 2023 15:25:38 +0000 (11:25 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Oct 2023 14:46:41 +0000 (10:46 -0400)
commit932a70a91ffc8c1c1e948de6fa1a3a882bebf8b7
tree4da26eeb848a447e671ca90ed972b184588474e3
parent97846d13c7bbee23f61eb874f22f04faba3754dd
use oracle.INTERVAL for generic interval

Fixed issue in :class:`.Interval` datatype where the Oracle implementation
was not being used for DDL generation, leading to the ``day_precision`` and
``second_precision`` parameters to be ignored, despite being supported by
this dialect.  Pull request courtesy Indivar.

Fixes: #10509
Closes: #10513
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/10513
Pull-request-sha: a3b901978504b1bc726f722fc27ca4827de05274

Change-Id: I074afeeac182567f9104c5175b81c735d87e1352
doc/build/changelog/unreleased_20/10509.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/oracle/types.py
lib/sqlalchemy/sql/sqltypes.py
test/dialect/oracle/test_types.py