diff sqlpython/sqlpython.py @ 436:f441f2eb52e0

pickling gerald data
author catherine@dellzilla
date Thu, 28 Jan 2010 17:05:50 -0500
parents cac7333f9ff5
children 39a664a87c51
line wrap: on
line diff
--- a/sqlpython/sqlpython.py	Wed Jan 27 16:30:05 2010 -0500
+++ b/sqlpython/sqlpython.py	Thu Jan 28 17:05:50 2010 -0500
@@ -171,6 +171,9 @@
             self.current_instance.connection.cursor().callproc('dbms_output.enable',[])
             #self.curs.callproc('dbms_output.enable', [])        
     
+    def do_pickle(self, arg):
+        self.current_instance.pickle()
+        
     def postparsing_precmd(self, statement):
         stop = 0
         self.saved_instance_number = None