What do you mean by .commit()? do you mean c.commit()?maluke <[EMAIL PROTECTED]> wrote:
it should be .commit()-- малюк [ [EMAIL PROTECTED] // ICQ: 39027534 ]The Opportunity Gap
Between what is and what could be exists a potential gap.This gap is an opportunity gap; With every passing of time, it
I have a file MyDataPool.py
from MiscUtils.DBPool import DBPool
from pyPgSQL import PgSQL
dbpool = DBPool(PgSQL, 10, 'localhost::foo:user1:')
Then in all my python code and servlets
I find myself constantly doing
conn = dbpool.getConnection
c = conn.cursor()
c.execute(QUERY)
c.close
conn.comm