Re: [Code: 0, SQL State: 0A000] when "typing" from pg_catalog

Thiemo Kellner <thiemo@gelassene-pferde.biz>

From: Thiemo Kellner <thiemo@gelassene-pferde.biz>
To: Adrian Klaver <adrian.klaver@aklaver.com>, "pgsql-general@lists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2024-04-09T15:12:02Z
Lists: pgsql-general
Thanks for taking this up.

Am 09.04.2024 um 17:09 schrieb Adrian Klaver:
> On 4/9/24 07:59, Thiemo Kellner wrote:
> [Code: 0, SQL State: 0A000] ERROR: References to other databases are not 
> implemented: pg_catalog.pg_roles.rolname
>     Position: 298 [Script position: 334 - 361]
> 
> PG_CATALOG.PG_ROLES.ROLNAME := 'snowrunner_reader';
> 
> Is being seen as DB_NAME.TABLE_NAME.COLUMN_NAME.

Yes, obviously, but why? With the information_schema view all is fine. 
And, I suppose, with all other objects in other schemas of the same 
database too.