/[papo]/gnue/common/src/dbdrivers/_pgsql/DBdriver.py
ViewVC logotype

Diff of /gnue/common/src/dbdrivers/_pgsql/DBdriver.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12.2.5 by apronotti, Wed May 14 20:14:59 2003 UTC revision 1.12.2.6 by apronotti, Mon May 19 20:46:56 2003 UTC
# Line 443  class PGSQL_TriggerExtensions: Line 443  class PGSQL_TriggerExtensions:
443            GDebug.printMesg(1,"**** Unable to execute extension query")            GDebug.printMesg(1,"**** Unable to execute extension query")
444            GDebug.printMesg(1,"**** %s" % sys.exc_info()[1])            GDebug.printMesg(1,"**** %s" % sys.exc_info()[1])
445            cursor.close()            cursor.close()
446            raise GDataObjects.ConnectionError(str(err))            raise GDataObjects.ConnectionError(str(sys.exc_info()[1]))
447    
448      if field.count('.') > 0:      if field.count('.') > 0:
449        auxField = field.split('.')[1]        auxField = field.split('.')[1]
# Line 469  class PGSQL_TriggerExtensions: Line 469  class PGSQL_TriggerExtensions:
469        GDebug.printMesg(1,"**** Unable to execute extension query")        GDebug.printMesg(1,"**** Unable to execute extension query")
470        GDebug.printMesg(1,"**** %s" % sys.exc_info()[1])        GDebug.printMesg(1,"**** %s" % sys.exc_info()[1])
471        cursor.close()        cursor.close()
472        raise GDataObjects.ConnectionError(str(err))        raise GDataObjects.ConnectionError(str(sys.exc_info()[1]))
473    
474      return 1      return 1
475    
# Line 526  class PGSQL_TriggerExtensions: Line 526  class PGSQL_TriggerExtensions:
526        GDebug.printMesg(1,"**** Unable to execute extension query")        GDebug.printMesg(1,"**** Unable to execute extension query")
527        GDebug.printMesg(1,"**** %s" % sys.exc_info()[1])        GDebug.printMesg(1,"**** %s" % sys.exc_info()[1])
528        cursor.close()        cursor.close()
529        raise GDataObjects.ConnectionError(str(err))        raise GDataObjects.ConnectionError(str(sys.exc_info()[1]))
530    
531      try:      try:
532        lAux = rv[0]        lAux = rv[0]
# Line 540  class PGSQL_TriggerExtensions: Line 540  class PGSQL_TriggerExtensions:
540            GDebug.printMesg(1,"**** Unable to execute extension query")            GDebug.printMesg(1,"**** Unable to execute extension query")
541            GDebug.printMesg(1,"**** %s" % sys.exc_info()[1])            GDebug.printMesg(1,"**** %s" % sys.exc_info()[1])
542            cursor.close()            cursor.close()
543            raise GDataObjects.ConnectionError(str(err))            raise GDataObjects.ConnectionError(str(sys.exc_info()[1]))
544    
545      if field.count('.') > 0:      if field.count('.') > 0:
546        auxField = field.split('.')[1]        auxField = field.split('.')[1]
# Line 580  class PGSQL_TriggerExtensions: Line 580  class PGSQL_TriggerExtensions:
580        GDebug.printMesg(1,"**** Unable to execute extension query")        GDebug.printMesg(1,"**** Unable to execute extension query")
581        GDebug.printMesg(1,"**** %s" % sys.exc_info()[1])        GDebug.printMesg(1,"**** %s" % sys.exc_info()[1])
582        cursor.close()        cursor.close()
583        raise GDataObjects.ConnectionError(str(err))        raise GDataObjects.ConnectionError(str(sys.exc_info()[1]))
584    
585      if autoCommit:      if autoCommit:
586        self.__connection.commit()        self.__connection.commit()

Legend:
Removed from v.1.12.2.5  
changed lines
  Added in v.1.12.2.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26