Re: select results on pg_class incomplete - Mailing list pgsql-general

From Christophe Pettus
Subject Re: select results on pg_class incomplete
Date
Msg-id 7C3D71C1-36D4-4DD9-9259-AD15C7E9D94F@thebuild.com
Whole thread Raw
In response to Re: select results on pg_class incomplete  (Thiemo Kellner <thiemo@gelassene-pferde.biz>)
Responses Re: select results on pg_class incomplete  (Thiemo Kellner <thiemo@gelassene-pferde.biz>)
List pgsql-general

> On Mar 15, 2024, at 03:30, Thiemo Kellner <thiemo@gelassene-pferde.biz> 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
aprodedure that creates a view in the monitor schema accessing the respective databases with union all to concatenate
thedata. 

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


pgsql-general by date:

Previous
From: Thiemo Kellner
Date:
Subject: Re: select results on pg_class incomplete
Next
From: Greg Sabino Mullane
Date:
Subject: Re: operator is only a shell - Error