Operational Error. --HELP

2009-03-30 Thread bijoy franco
Hi, Following is the in-function cursor object. Code:import pgdb __metaclass__=type class addbook: conn=pgdb.connect(dsn='localhost:secondbooks',user='postgres',password='postgres1') curs=conn.cursor() def addBook(self): *infunction_curs=self.curs** *

Operational Error. --HELP

2009-03-30 Thread bijoy franco
Hi, Following is the in-function cursor object. Code:import pgdb __metaclass__=type class addbook: conn=pgdb.connect(dsn='localhost:secondbooks',user='postgres',password='postgres1') curs=conn.cursor() def addBook(self): *infunction_curs=self.curs** *