def METHOD_NAME(uri, db):
    engine = create_engine(uri, echo=True)
    res = engine.execute('select nspname from pg_catalog.pg_namespace').fetchall()
    schema_list = []
    for row in res:
        for item in row:
            schema_list.append(item)
    return schema_list