Add database functions; create and drop DB.
Fix name of postgresql dialect.