Devrim GUNDUZ wrote:
* Updated PyGreSQL from 3.4 to 3.5 (only for 7.4.6-2PGDG)
Given the fact that PyGreSQL is still affected by the unfamous "idle in transaction" behaviour:
def __init__(self, cnx): self.__cnx = cnx self.__cache = pgdbTypeCache(cnx) try: src = self.__cnx.source() src.execute("BEGIN") except: raise OperationalError, "invalid connection."
def close(self): self.__cnx.close()
def commit(self): try: src = self.__cnx.source() src.execute("COMMIT") src.execute("BEGIN") except: raise OperationalError, "can't commit."
def rollback(self): try: src = self.__cnx.source() src.execute("ROLLBACK") src.execute("BEGIN") except: raise OperationalError, "can't rollback."
why do not distribute with next RPM the psycopg instead ?
Regards Gaetano Mendola
---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])