Re: [SECURITY] New set of PostgreSQL RPMS are available for download

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Devrim GUNDUZ <devrim(at)gunduz(dot)org>
Subject: Re: [SECURITY] New set of PostgreSQL RPMS are available for download
Date: 2004-10-26 23:48:02
Message-ID: 417EE232.9050403@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-general

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

In response to

Browse pgsql-announce by date

  From Date Subject
Next Message Laurent THEVENET 2004-10-27 14:35:47 PgWorksheet 1.2
Previous Message Devrim GUNDUZ 2004-10-26 22:15:07 Re: (S)RPMs for PostgreSQL 7.2.6, 7.3.8 and 7.4.6 are

Browse pgsql-general by date

  From Date Subject
Next Message Robby Russell 2004-10-27 00:05:27 Re: primary key and existing unique fields
Previous Message Leen Besselink 2004-10-26 22:20:37 pg_autovacuum in 8beta-dev3 small bug