def schema_get(dbname, name, db_user=None, db_password=None, db_host=None, db_port=None):
 all_schemas = schema_list(dbname, db_user=db_user, db_host=db_host, db_port=db_port, db_password=db_password)
 try:
  return all_schemas.get(name, None)
 except AttributeError:
  log.error('Could not retrieve Postgres schema. Is Postgres running?')
  return False

def schema_get ( dbname , name , db_user = None , db_password = None , db_host = None , db_port = None ) : all_schemas = schema_list ( dbname , db_user = db_user , db_host = db_host , db_port = db_port , db_password = db_password ) try : return all_schemas . get ( name , None ) except AttributeError : log . error ( 'Could not retrieve Postgres schema. Is Postgres running?' ) return False
return a dict with information about schemas in a database .