[ python-Bugs-1010240 ] Add connection documentation/specification module
noreply at pgfoundry.org
noreply at pgfoundry.org
Wed Jan 16 04:05:02 UTC 2008
Bugs item #1010240, was opened at 2008-01-15 21:05
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=442&aid=1010240&group_id=1000094
Category: ip/greentrunk
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: James Pye (jwp)
Assigned to: James Pye (jwp)
Summary: Add connection documentation/specification module
Initial Comment:
Add the `connection` module to ip.
This module will provide the specification for the GreenTrunk connection interface. The attributes in the module represent the attributes on the connection. Normally, the module attributes will be classes so as to provide a means to describe each element's interface.
eg, postgresql/protocol/greentrunk/connection.py:
class query(object):
"""
create a prepared statement using the given SQL source
"""
class cursor(object):
"""
create an interface to an already existing cursor
"""
class xact(object):
"""
manage the connection's transaction state
"""
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=442&aid=1010240&group_id=1000094
More information about the Python-general
mailing list