mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-01-31 09:24:07 +03:00
DECIMAL typecaster imported into the extensions module.
This commit is contained in:
parent
595dc7effa
commit
54e9c89ea4
|
@ -1,3 +1,7 @@
|
|||
2010-04-13 Daniele Varrazzo <daniele.varrazzo@gmail.com>
|
||||
|
||||
* lib/extensions.py: DECIMAL typecaster imported from _psycopg.
|
||||
|
||||
2010-04-05 Federico Di Gregorio <fog@initd.org>
|
||||
|
||||
* Fixed problem with asynchronous NOTIFYs.
|
||||
|
|
|
@ -199,7 +199,7 @@ deal with Python objects adaptation:
|
|||
|
||||
.. versionchanged:: 2.0.14
|
||||
previously the adapter was not exposed by the `extensions`
|
||||
module. In older version it can be imported from the implementation
|
||||
module. In older versions it can be imported from the implementation
|
||||
module `!psycopg2._psycopg`.
|
||||
|
||||
|
||||
|
@ -495,6 +495,7 @@ from the database. See :ref:`unicode-handling` for details.
|
|||
DATE
|
||||
DATEARRAY
|
||||
DATETIMEARRAY
|
||||
DECIMAL
|
||||
DECIMALARRAY
|
||||
FLOAT
|
||||
FLOATARRAY
|
||||
|
@ -511,3 +512,7 @@ from the database. See :ref:`unicode-handling` for details.
|
|||
UNICODE
|
||||
UNICODEARRAY
|
||||
|
||||
.. versionchanged:: 2.2.0
|
||||
previously the `DECIMAL` typecaster was not exposed by the
|
||||
`extensions` module. In older versions it can be imported from the
|
||||
implementation module `!psycopg2._psycopg`.
|
||||
|
|
|
@ -33,7 +33,7 @@ This module holds all the extensions to the DBAPI-2.0 provided by psycopg.
|
|||
# License for more details.
|
||||
|
||||
from _psycopg import UNICODE, INTEGER, LONGINTEGER, BOOLEAN, FLOAT
|
||||
from _psycopg import TIME, DATE, INTERVAL
|
||||
from _psycopg import TIME, DATE, INTERVAL, DECIMAL
|
||||
from _psycopg import BINARYARRAY, BOOLEANARRAY, DATEARRAY, DATETIMEARRAY
|
||||
from _psycopg import DECIMALARRAY, FLOATARRAY, INTEGERARRAY, INTERVALARRAY
|
||||
from _psycopg import LONGINTEGERARRAY, ROWIDARRAY, STRINGARRAY, TIMEARRAY
|
||||
|
|
Loading…
Reference in New Issue
Block a user