Re: select results on pg_class incomplete

Поиск
Список
Период
Сортировка
Искать
От
Christophe Pettus
Тема
Re: select results on pg_class incomplete
Дата
Msg-id
7C3D71C1-36D4-4DD9-9259-AD15C7E9D94F@thebuild.com
Ответ на
Список
Дерево обсуждения
select results on pg_class incomplete Thiemo Kellner <thiemo@gelassene-pferde.biz>
Re: select results on pg_class incomplete Adrian Klaver <adrian.klaver@aklaver.com>
Re: select results on pg_class incomplete Thiemo Kellner <thiemo@gelassene-pferde.biz>
Re: select results on pg_class incomplete "David G. Johnston" <david.g.johnston@gmail.com>
Re: select results on pg_class incomplete David Rowley <dgrowleyml@gmail.com>
Re: select results on pg_class incomplete Thiemo Kellner <thiemo@gelassene-pferde.biz>
Re: select results on pg_class incomplete Christophe Pettus <xof@thebuild.com>
Re: select results on pg_class incomplete Thiemo Kellner <thiemo@gelassene-pferde.biz>


> On Mar 15, 2024, at 03:30, Thiemo Kellner  wrote:
> Thanks for the ideas. As I would want to keep it in the database, dblink would be the way to go. Maybe, I will create a prodedure that creates a view in the monitor schema accessing the respective databases with union all to concatenate the data.

You could also create a PostgreSQL foreign server for each of the other databases, which would let you issue a query to UNION together the results of a query on all of the catalogs.  This would require creating a foreign table for pg_class in the other databases.

В списке pgsql-general по дате отправления
От: Thiemo Kellner
Дата:
От: Greg Sabino Mullane
Дата:
FAQ