<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>102703</bug_id>
          
          <creation_ts>2005-08-16 05:24 0000</creation_ts>
          <short_desc>Psycopg adapter for zope does not auto-reconnect</short_desc>
          <delta_ts>2005-12-11 11:38:53 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>paul@linx.net</reporter>
          <assigned_to>net-zope@gentoo.org</assigned_to>
          <cc>jsaker@americanrelay.com</cc>
    
    <cc>python@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>paul@linx.net</who>
            <bug_when>2005-08-16 05:24:09 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2005-11-05 06:43:31 0000</bug_when>
            <thetext>a zope problem?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>radek@gentoo.org</who>
            <bug_when>2005-12-11 11:38:53 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>