Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ruD8q-003Wel-Lg for pgsql-general@arkaria.postgresql.org; Tue, 09 Apr 2024 15:12:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ruD8p-006Ugx-Pa for pgsql-general@arkaria.postgresql.org; Tue, 09 Apr 2024 15:12:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ruD8p-006Ugp-EZ for pgsql-general@lists.postgresql.org; Tue, 09 Apr 2024 15:12:07 +0000 Received: from sm-r-012-dus.org-dns.com ([84.19.1.231]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ruD8m-0002SQ-K1 for pgsql-general@lists.postgresql.org; Tue, 09 Apr 2024 15:12:06 +0000 Received: from smarthost-dus.org-dns.com (localhost [127.0.0.1]) by smarthost-dus.org-dns.com (Postfix) with ESMTP id 174F2A076D for ; Tue, 9 Apr 2024 17:12:03 +0200 (CEST) Received: by smarthost-dus.org-dns.com (Postfix, from userid 1001) id 0B429A1F0D; Tue, 9 Apr 2024 17:12:03 +0200 (CEST) X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,KAM_INFOUSMEBIZ, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received: from ha01s018.org-dns.com (ha01s018.org-dns.com [62.108.32.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smarthost-dus.org-dns.com (Postfix) with ESMTPS id 826A3A1296; Tue, 9 Apr 2024 17:12:02 +0200 (CEST) Authentication-Results: ha01s018.org-dns.com; spf=pass (sender IP is 79.233.131.2) smtp.mailfrom=thiemo@gelassene-pferde.biz smtp.helo=[192.168.2.190] Received-SPF: pass (ha01s018.org-dns.com: connection is authenticated) Message-ID: <95a1f1fe-b7c5-4547-8dd7-bf8ef41898a5@gelassene-pferde.biz> Date: Tue, 9 Apr 2024 17:12:02 +0200 MIME-Version: 1.0 Subject: Re: [Code: 0, SQL State: 0A000] when "typing" from pg_catalog To: Adrian Klaver , "pgsql-general@lists.postgresql.org" References: <5b4a4ffa-39ae-40b1-8fcc-52b6eebc4c2f@aklaver.com> Content-Language: en-GB From: Thiemo Kellner In-Reply-To: <5b4a4ffa-39ae-40b1-8fcc-52b6eebc4c2f@aklaver.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-PPP-Message-ID: <171267552237.13290.16597890868739901659@ha01s018.org-dns.com> X-PPP-Vhost: gelassene-pferde.biz X-POWERED-BY: wint.global - AV:CLEAN SPAM:OK List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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.