> On Nov 27, 2022, at 10:53, Igor Korot <ikoro...@gmail.com> wrote:
> Are you saying I can't run any query on other DB? Or connect to DB and
> run select?

The query you run only looks at the system catalogs for the database you are 
connected to (with the exception of the small number of global catalogs, like 
pg_database).  So, if you are connected to database "a", you can't query the 
system catalogs of database "b" for what indexes are in them.

Reply via email to