Re: [Zope] SQL Database Connections

2005-05-20 Thread Andreas Jung

--On Freitag, 20. Mai 2005 9:05 Uhr -0700 Jonathan Daugherty 
[EMAIL PROTECTED] wrote:

Greetings,
I connect to PostgreSQL from Zope and whenever I upgrade postgres on
my server, my persistent database connections in Zope fail.  I have to
log in to the ZMI and reconnect the connection objects manually to
restore the connections; is there a way to attempt a reconnection
automatically when postgres goes down or is upgraded?
Depends on the underlaying DAso which one are you using? In general
a DA should reconnect automatically.
-aj


pgpmRjFbWVs7B.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] SQL Database Connections

2005-05-20 Thread Jonathan Daugherty
# Depends on the underlaying DAso which one are you using? In
# general a DA should reconnect automatically.

I'm using the zope-psycopgda 1.1.18-1 debian package, debian testing.

-- 
  Jonathan Daugherty
  http://www.parsed.org
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] SQL Database Connections

2005-05-20 Thread Andreas Jung

--On Freitag, 20. Mai 2005 9:18 Uhr -0700 Jonathan Daugherty 
[EMAIL PROTECTED] wrote:

# Depends on the underlaying DAso which one are you using? In
# general a DA should reconnect automatically.
I'm using the zope-psycopgda 1.1.18-1 debian package, debian testing.
Try to upgrade...
-aj


pgpWEdvNFsUxh.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] SQL Database Connections

2005-05-20 Thread Tino Wildenhain
Am Freitag, den 20.05.2005, 18:28 +0200 schrieb Andreas Jung:
 
 --On Freitag, 20. Mai 2005 9:18 Uhr -0700 Jonathan Daugherty 
 [EMAIL PROTECTED] wrote:
 
 # Depends on the underlaying DAso which one are you using? In
 # general a DA should reconnect automatically.
 
  I'm using the zope-psycopgda 1.1.18-1 debian package, debian testing.
 
 
 Try to upgrade...

Well, afaic this is a problem of the upgrade ;) 
this feature was introduced in the recent version
of the psycopgda. 
Maybe this can be hacked...



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )