We have a around 100+ schema maintained in PostgreSQL. Now we want to query on all schema, is there any way to do that? other than views, procedures and union all? Any postgres functions which let you query on multiple schemas
Run Query on All Schemas Postgres
6.2k Views Asked by Nisa Anwaar At
2
The following catalog query will produce valid queries for every table on all schemas of your database. You can copy this to a valid SQL file.
Does this help?