# HG changeset patch # User catherine@cordelia # Date 1254882744 14400 # Node ID b49e917fa689f882e40c37e1fbe1ce031900b983 # Parent 5fd44394d789099b2629bb5eb9ed79826a29c78c pull to gerald diff -r 5fd44394d789 -r b49e917fa689 sqlpython/sqlpyPlus.py --- a/sqlpython/sqlpyPlus.py Tue Oct 06 22:13:52 2009 -0400 +++ b/sqlpython/sqlpyPlus.py Tue Oct 06 22:32:24 2009 -0400 @@ -851,7 +851,12 @@ def _pull(self, arg, opts, vc=None): (username, schemas) = self.metadata() - + for (name, obj, dbtype, descrip) in self._matching_database_objects(arg, opts): + self.poutput(descrip) + self.poutput(obj.get_ddl()) + + + def _show_shortcut(self, shortcut, argpieces): try: @@ -1452,6 +1457,7 @@ def _matching_database_objects(self, arg, opts): # jrrt.p* should work even if not --all + # doesn't get java$options seek = r'^[/\\]?%s[/\\]?$' % ( arg.replace('*', '.*').replace('?','.').replace('%', '.*')) # TODO: can't find ``table/``