RELEASE: psycopg 2 beta 1
Federico Di Gregorio <fog-NGVKUo/i/[email protected]> Mon, 09 May 2005 19:43:39 +0200
| Newsgroups | gmane.comp.python.db.psycopg.devel,gmane.comp.python.db.psycopg.announce |
|---|---|
| Message-ID | <[email protected]> |
--===============0478486615== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-RxoRat3E28Ah2GtGgQYa" --=-RxoRat3E28Ah2GtGgQYa Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi *, with this release psycopg 2 officially enters beta testing (yes, I know two of you out there are already using it for production but I said "officially", ok? :) This first beta is expected to be a little bit more unstable than the old 1.99.13, mainly because I rushed any remaining changes into it. The most important change is array support; psycopg will now yield list objects for array columns and adapt and quote complex lists to the string expected by PostgreSQL. Note: on the PostgreSQL->Python side some types still need work; everything should be fine the other way around. Other changes are detailed in the ChangeLog and in the NEWS (excerpt attached below, as always.) Download from: http://initd.org/pub/software/psycopg/psycopg-2.0b1.tar.gz Please test and have fun, federico What's new in psycopg 2.0 beta 1 -------------------------------- * Officially in beta (i.e., no new features will be added.) * Array support: list objects can be passed as bound variables and are correctly returned for array columns. * Added the psycopg.psycopg1 compatibility module (if you want instant psycopg 1 compatibility just "from psycopg import psycopg1 as psycopg".) * Complete support for BYTEA columns and buffer objects. * Added error codes to error messages. * The AsIs adapter is now exported by default (also Decimal objects are 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 "factory" as keyword argument. * New setup.py code to build on win32 using mingw and better error messages on missing datetime headers, * Internal changes that allow much better user-defined type casters. * A lot of bugfixes (binary, datetime, 64 bit arches, GIL, .executemany()) --=20 Federico Di Gregorio http://people.initd.org/fog Debian GNU/Linux Developer [email protected] INIT.D Developer fog-NGVKUo/i/[email protected] I terminali seriali sono in via di estinzione (infatti quello che c'era si =C3=A8 estinto) -- Simone Calda= na --=-RxoRat3E28Ah2GtGgQYa Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBCf6FLvcCgrgZGjesRAsRYAJ9zMV10ejNPAXXuUfXQzewk2BNiOwCggmjO w9dELoVuDpdHbcw35MzOWvQ= =fP0y -----END PGP SIGNATURE----- --=-RxoRat3E28Ah2GtGgQYa-- --===============0478486615== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Psycopg mailing list Psycopg-IAPFreCvJWPBWskQ1e/[email protected] http://lists.initd.org/mailman/listinfo/psycopg --===============0478486615==--