datacube.drivers.common_psql.get_connection_info#

datacube.drivers.common_psql.get_connection_info(conn)[source]#

Return the database name and currently active role of an SQLAlchemy connection. :type conn: Connection :param conn: The SQLAlchemy connection object. :rtype: tuple[str, str] :return: a string tuple (database name, role name)