> On Nov 27, 2022, at 10:53, Igor Korot <ikorot01@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
smallnumber of global catalogs, like pg_database). So, if you are connected to database "a", you can't query the
systemcatalogs of database "b" for what indexes are in them.