Re: New psycopg release?
"James Henstridge" <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 26, 2008 at 10:38 PM, Jason Ish <[email protected]> wrote: > On Tue, Aug 26, 2008 at 06:33:36PM +0800, James Henstridge wrote: >> Hi Federico, >> >> I was wondering whether it'd be possible to get a 2.0.8 release of >> psycopg2 cut. For one of the projects we're working on, we ran into a >> crasher with 2.0.7 which appears to be fixed with the latest >> development release (I suspect it is the double free I fixed in >> pq_complete_error(), but haven't investigated further). Our admins >> prefer to put release software on the production servers, hence the >> request for a new release. > > Just ran into a double free myself after upgrading to 2.0.7 the other > day. I'll try development and see if it happens again. Sorry, > haven't had a chance to look into it in more depth, but its on my list! If you want to try the fix alone, the relevant patch is here: http://bazaar.launchpad.net/~psycopg/psycopg/2.0.x/revision/346.1.5 This covers cases where libpq returns an error without passing back a PGresult. James.