RELEASE: psycopg 2.0.10
Federico Di Gregorio <fog-NGVKUo/i/[email protected]> Mon, 20 Apr 2009 20:43:09 +0200
| Newsgroups | gmane.comp.python.db.psycopg.announce,gmane.comp.python.db.psycopg.devel |
|---|---|
| Organization | initd.org |
| Message-ID | <[email protected]> |
--===============0539172843652651054==
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-52YD/tbuabiDFkeCSOhh"
--=-52YD/tbuabiDFkeCSOhh
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hi *,
as promised here is the release that plugs some of the segfaults that
popped up lately. It contains both Gangadharan fixes on
connection/cursor dealloc and my rework of the notice callback (that
caused some segfaults in case of notices processed while
multithreading.)
The signed release is available at the usual place:
http://initd.org/pub/software/psycopg/psycopg2-2.0.10.tar.gz
http://initd.org/pub/software/psycopg/psycopg2-2.0.10.tar.gz.asc
And here is the excerpt from the NEWS file:
What's new in psycopg 2.0.10
---------------------------
* New features:
- A specialized type-caster that can parse time zones with seconds is
now available. Note that after enabling it (see extras.py) "wrong"
time zones will be parsed without raising an exception but the
result will be rounded.
- DictCursor can be used as a named cursor.
- DictRow now implements more dict methods.
- The connection object now expose PostgreSQL server version as the
.server_version attribute and the protocol version used as
.protocol_version.
- The connection object has a .get_parameter_status() methods that
can be used to obtain useful information from the server.
=20
* Bug fixes:
- None is now correctly always adapted to NULL.
- Two double memory free errors provoked by multithreading and
garbage collection are now fixed.
- Fixed usage of internal Python code in the notice processor; this
should fix segfaults when receiving a lot of notices in
multithreaded programs.
- Should build again on MSVC and Solaris.
- Should build with development versions of PostgreSQL (ones with
-devel version string.)
- Fixed some tests that failed even when psycopg was righ
Have fun,
federico
--=20
Federico Di Gregorio http://people.initd.org/fog
Debian GNU/Linux Developer [email protected]
INIT.D Developer fog-NGVKUo/i/[email protected]
Quis custodiet ipsos custodes? -- Juvenal, Satires, VI, 347
--=-52YD/tbuabiDFkeCSOhh
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio
firmata digitalmente
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEABECAAYFAknswj0ACgkQvcCgrgZGjes0qACfZg3AnU7Pcg+AAbyXDXb7AsAF
O+cAniDEFAwDos7s74Gh5iPjQwvBRiKh
=6+2V
-----END PGP SIGNATURE-----
--=-52YD/tbuabiDFkeCSOhh--
--===============0539172843652651054==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Psycopg-announce mailing list
Psycopg-announce-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg-announce
--===============0539172843652651054==--