It doesn't say anything about "current" DB - only the DB.
However, I think I can try "SELECT 1 FROM <catalog>.pg_indexes...". Will this work?
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных