Add geoscript.workspace.Database.getSql() method that provides direct access to database.  Now we can use all of those wonderful postgis/geodb functions.