mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 08:56:34 +03:00
Release 2.0 beta 1.
This commit is contained in:
parent
8c2ac0658c
commit
d57ceaadc6
|
@ -1,5 +1,7 @@
|
|||
2005-05-09 Federico Di Gregorio <fog@debian.org>
|
||||
|
||||
* Release 2.0 beta 1.
|
||||
|
||||
* psycopg/typecast_datetime.c (typecast_PYDATETIME_cast): fixed a
|
||||
typo (pyDateTimeModuleP->pyDateTimeTypeP) that was causing errors
|
||||
with infinite datetime values.
|
||||
|
|
2
NEWS
2
NEWS
|
@ -14,7 +14,7 @@ What's new in psycopg 2.0 beta 1
|
|||
* Added error codes to error messages.
|
||||
|
||||
* The AsIs adapter is now exported by default (also Decimal objects are
|
||||
adapter using the AsIs adapter (when str() is called on them they
|
||||
adapted using the AsIs adapter (when str() is called on them they
|
||||
already format themselves using the right precision and scale.)
|
||||
|
||||
* The connect() function now takes "connection_factory" instead of
|
||||
|
|
|
@ -223,6 +223,10 @@ psyco_adapters_init(PyObject *mod)
|
|||
#ifdef HAVE_PYBOOL
|
||||
microprotocols_add(&PyBool_Type, NULL, (PyObject*)&pbooleanType);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_DECIMAL
|
||||
microprotocols_add((PyTypeObject*)decimalType, NULL, (PyObject*)&asisType);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* psyco_encodings_fill
|
||||
|
|
Loading…
Reference in New Issue
Block a user