mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-14 04:56:33 +03:00
Preparing release 2.2.0
This commit is contained in:
parent
6521fb5a44
commit
e286970b62
|
@ -1,4 +1,8 @@
|
||||||
2010-04-05 Federico Di Gregorio <fog@initd.org>
|
2010-05-16 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
|
* Release 2.2.0.
|
||||||
|
|
||||||
|
2010-05-15 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
* typecast.c: Fixed problem related to receiving None from Python
|
* typecast.c: Fixed problem related to receiving None from Python
|
||||||
when a string was expected.
|
when a string was expected.
|
||||||
|
|
|
@ -12,5 +12,5 @@ recursive-include doc/html *
|
||||||
prune doc/src/_build
|
prune doc/src/_build
|
||||||
recursive-include scripts *.py *.sh
|
recursive-include scripts *.py *.sh
|
||||||
include scripts/maketypes.sh scripts/buildtypes.py
|
include scripts/maketypes.sh scripts/buildtypes.py
|
||||||
include AUTHORS README INSTALL LICENSE ChangeLog
|
include AUTHORS README INSTALL LICENSE NEWS-2.0 NEWS-2.2 ChangeLog
|
||||||
include PKG-INFO MANIFEST.in MANIFEST setup.py setup.cfg
|
include PKG-INFO MANIFEST.in MANIFEST setup.py setup.cfg
|
||||||
|
|
32
NEWS-2.2
Normal file
32
NEWS-2.2
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
What's new in psycopg 2.2.0
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
This is the first release of the new 2.2 series, supporting not just one but
|
||||||
|
two different ways of executing asynchronous queries, thanks to Jan and Daniele
|
||||||
|
(with a little help from me and others, but they did 99% of the work so they
|
||||||
|
deserve their names here in the news.)
|
||||||
|
|
||||||
|
psycopg now supports both classic select() loops and "green" coroutine
|
||||||
|
libraries. It is all in the documentation, so just point your browser to
|
||||||
|
doc/html/advanced.html.
|
||||||
|
|
||||||
|
* Other new features:
|
||||||
|
- truncate() method for lobjects.
|
||||||
|
- COPY functions are now a little bit faster.
|
||||||
|
- All builtin PostgreSQL to Python typecasters are now available from the
|
||||||
|
psycopg2.extensions module.
|
||||||
|
- Notifications from the backend are now available right after the execute()
|
||||||
|
call (before client code needed to call isbusy() to ensure NOTIFY
|
||||||
|
reception.)
|
||||||
|
- Better timezone support.
|
||||||
|
- Lots of documentation updates.
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
- Fixed some gc/refcounting problems.
|
||||||
|
- Fixed reference leak in NOTIFY reception.
|
||||||
|
- Fixed problem with PostgreSQL not casting string literals to the correct
|
||||||
|
types in some situations: psycopg now add an explicit cast to dates, times
|
||||||
|
and bytea representations.
|
||||||
|
- Fixed TimestampFromTicks() and TimeFromTicks() for seconds >= 59.5.
|
||||||
|
- Fixed spurious exception raised when calling C typecasters from Python
|
||||||
|
ones.
|
|
@ -44,7 +44,6 @@
|
||||||
<None Include="INSTALL" />
|
<None Include="INSTALL" />
|
||||||
<None Include="LICENSE" />
|
<None Include="LICENSE" />
|
||||||
<None Include="MANIFEST.in" />
|
<None Include="MANIFEST.in" />
|
||||||
<None Include="NEWS" />
|
|
||||||
<None Include="README" />
|
<None Include="README" />
|
||||||
<None Include="setup.cfg" />
|
<None Include="setup.cfg" />
|
||||||
<None Include="setup.py" />
|
<None Include="setup.py" />
|
||||||
|
@ -199,6 +198,8 @@
|
||||||
<None Include="psycopg\green.h" />
|
<None Include="psycopg\green.h" />
|
||||||
<None Include="doc\src\pool.rst" />
|
<None Include="doc\src\pool.rst" />
|
||||||
<None Include="sandbox\dec2float.py" />
|
<None Include="sandbox\dec2float.py" />
|
||||||
|
<None Include="NEWS-2.0" />
|
||||||
|
<None Include="NEWS-2.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="psycopg\adapter_asis.c" />
|
<Compile Include="psycopg\adapter_asis.c" />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user