Update of /cvsroot/pypgsql/pypgsql/pyPgSQL
In directory usw-pr-cvs1:/tmp/cvs-serv20407/pyPgSQL
Modified Files:
PgSQL.py
Log Message:
04DEC2001 bga Added code to implement support for setting PostgreSQL trans-
action levels. [Feature Request #481727].
12JAN2001 bga Added test to check for correct operation of the fix for bug
#486151.
Index: PgSQL.py
===================================================================
RCS file: /cvsroot/pypgsql/pypgsql/pyPgSQL/PgSQL.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** PgSQL.py 2001/11/03 18:36:50 1.4
--- PgSQL.py 2002/01/12 23:20:14 1.5
***************
*** 30,33 ****
--- 30,35 ----
# Date Ini Description |
# --------- --- ------------------------------------------------------- |
+ # 04DEC2001 bga Added code to implement support for setting PostgreSQL |
+ # transaction levels. [Feature Request #481727]. |
# 03NOV2001 bga It appears that under certain circumstances, PostgreSQL |
# will not return a precision/scale value for a numeric |
***************
*** 161,170 ****
an exception.
[...1447 lines suppressed...]
if self.conn == None:
***************
*** 2313,2320 ****
def setinputsizes(self, sizes):
! if self.closed:
! raise InterfaceError, "setinputsize failed - the cursor is closed."
def setoutputsize(self, size, column=None):
! if self.closed:
! raise InterfaceError, "setoutputsize failed - the cursor is closed."
--- 2375,2382 ----
def setinputsizes(self, sizes):
! if self.closed:
! raise InterfaceError, "setinputsize failed - the cursor is closed."
def setoutputsize(self, size, column=None):
! if self.closed:
! raise InterfaceError, "setoutputsize failed - the cursor is closed."
|