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 1ruDFQ-003XXB-Fe for pgsql-general@arkaria.postgresql.org; Tue, 09 Apr 2024 15:18:57 +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 1ruDFP-006cv3-LA for pgsql-general@arkaria.postgresql.org; Tue, 09 Apr 2024 15:18:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ruDFO-006cqB-Gr for pgsql-general@lists.postgresql.org; Tue, 09 Apr 2024 15:18:55 +0000 Received: from wfout3-smtp.messagingengine.com ([64.147.123.146]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ruDFL-0021mv-OT for pgsql-general@lists.postgresql.org; Tue, 09 Apr 2024 15:18:53 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.west.internal (Postfix) with ESMTP id 3EEE51C0014A; Tue, 9 Apr 2024 11:18:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 09 Apr 2024 11:18:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1712675929; x=1712762329; bh=fHuu4TVhW7DU1/rbNKRXcIlwLP/qFhfR69EfAajVgAA=; b= kyy63WbqsKNJRjHYxEwuzxNH1dJWS9j7/bd3RqI57g7kQX4a8e2fZvfAp7Hwz0pP phiwoumOPGHgfXfUA+t7GFb+Z6at3Q7Kdug6ErSeWD3on62pjCBhp2YBm07QuzIz N1otg6uE3V2Gcjp/3JfAmO9m/p0saU/gCjMa7M4Qg2DDzTafbiGeopvNZ+gf+nnu R8l6JmQmY71AXoJxdKrE/4EUAApkpCHsFEQyRg6Gh2fGF5PZ5eheEkYwuajKsG0G i3bmM5N4nLSU2y2lnDD7fbAxGqJkf4q9Tvw4zxCOwPQVzol00I8bm3NnyUSZrYSO 58ZzQvSyNKJ/Qxd4KqXCQQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1712675929; x= 1712762329; bh=fHuu4TVhW7DU1/rbNKRXcIlwLP/qFhfR69EfAajVgAA=; b=E BOH+aBBZLuyXM9XDTS3CayRmTuEqhCnYmi4eBYJ/E0Aj+0dyr0QRwUZJF2w1fCfU AXfHJuKw9iZknL4Q7CFjhwfXo/js10IVg42Zj0jkAlylcjVD1gqwDV3QTYxc2j7J i7zYUXqFafbsv3QhS6DmB9b2iGZdny00tUruclyB0zNFVoU+ihPjm34cPK/riZg9 7vPXTFp+cc+nQOnfv5vDv+DmmwL0vmkq7WFrY1PGbpc64EbcU5X5LLCqkGjmulsZ Ykw0Fs8wboB6Qj/hTJK0xPtNwBiyw9tack6hbKdr7RKxwx9Of/EhnMRGEtqueocd 0An77SuLpSKAD7DRBD43A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudehvddgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeffleegieefgfevudehtdfhkeeutdffjeevgeffgeej vedthefgudeiteefheejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 9 Apr 2024 11:18:49 -0400 (EDT) Message-ID: <2b633b1d-8dbe-4a3e-9d0c-f28628357799@aklaver.com> Date: Tue, 9 Apr 2024 08:18:48 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Code: 0, SQL State: 0A000] when "typing" from pg_catalog To: Thiemo Kellner , "pgsql-general@lists.postgresql.org" References: <5b4a4ffa-39ae-40b1-8fcc-52b6eebc4c2f@aklaver.com> <95a1f1fe-b7c5-4547-8dd7-bf8ef41898a5@gelassene-pferde.biz> Content-Language: en-US From: Adrian Klaver In-Reply-To: <95a1f1fe-b7c5-4547-8dd7-bf8ef41898a5@gelassene-pferde.biz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/9/24 08:12, Thiemo Kellner wrote: > 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. Because you did not do?: PG_CATALOG.PG_ROLES.ROLNAME%type -- Adrian Klaver adrian.klaver@aklaver.com