[ python-Bugs-1000533 ] No timeout on reading messages.

noreply at pgfoundry.org noreply at pgfoundry.org
Thu Jan 26 00:42:12 GMT 2006


Bugs item #1000533, was opened at 2006-01-25 17:42
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=442&aid=1000533&group_id=1000094

Category: FE/Proboscis
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: James Pye (jwp)
Assigned to: James Pye (jwp)
Summary: No timeout on reading messages.

Initial Comment:
If a PostgreSQL server dies, the connection to the server will remain open, and the driver will continue to read [nothing] from the wire until an exception is raised, which may be never.

As a quick fix, if no *data* is read in a user configurable interval, raise a timeout exception.

Eventually, it would be best for such code to find it's way into the Passive buffer code so that C's speed could be taken advantage of.

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=442&aid=1000533&group_id=1000094


More information about the Python-general mailing list