Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102703 - Psycopg adapter for zope does not auto-reconnect
Summary: Psycopg adapter for zope does not auto-reconnect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-16 05:24 UTC by Paul Daukas
Modified: 2005-12-11 11:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Daukas 2005-08-16 05:24:09 UTC
The psycopg adapter does not reconnect if a postgresql database restarts for any
reason.  The autoreconnect feature was available in older versions in psycopg,
but is no longer in current versions.  See:
http://mail.zope.org/pipermail/zope/2005-April/157990.html
The patch they suggest seems to work fine, so i dont see why it shouldnt be
incorporated in the ebuild

Reproducible: Always
Steps to Reproduce:
1. start the psycopg connection to database from zope
2. restart the database
3. test the connection by issuing an sql statement from testing window or by
runing a zsql method.  It will fail because the connection to the database is no
longer active.

Actual Results:  
connection to the db is no longer active

Expected Results:  
the psycopg should attempt to reconnect to the database.

http://mail.zope.org/pipermail/zope/2005-April/157990.html
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2005-11-05 06:43:31 UTC
a zope problem?
Comment 2 Radoslaw Stachowiak (RETIRED) gentoo-dev 2005-12-11 11:38:53 UTC
zpsycopgda has been updated in portage to 1.1.21 which should solve the problem 
(upstream reports that it was solved in 1.1.19).

In case of problems please reopen the bug.
Thank You for Your support and patience.