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 1uQZN8-00DZ61-ER for pgsql-admin@arkaria.postgresql.org; Sat, 14 Jun 2025 22:29:10 +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 1uQZN6-00APcI-Hd for pgsql-admin@arkaria.postgresql.org; Sat, 14 Jun 2025 22:29:09 +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 1uQZN6-00APcA-6m for pgsql-admin@lists.postgresql.org; Sat, 14 Jun 2025 22:29:08 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uQZN4-0025Hu-2R for pgsql-admin@lists.postgresql.org; Sat, 14 Jun 2025 22:29:08 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 55EMT4ua049894; Sat, 14 Jun 2025 18:29:04 -0400 From: Tom Lane To: Edwin UY cc: Pgsql-admin Subject: Re: GRANT USAGE ON SCHEMA In-reply-to: References: Comments: In-reply-to Edwin UY message dated "Sun, 15 Jun 2025 10:08:41 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <49892.1749940144.1@sss.pgh.pa.us> Date: Sat, 14 Jun 2025 18:29:04 -0400 Message-ID: <49893.1749940144@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Edwin UY writes: > Just playing around here trying and 'confused' what the GRANT USAGE ON > SCHEMA is supposed to be for? > I thought it was supposed to all 'full' access of one schema to the other No. Schema USAGE is more or less like directory read permissions in a file system: it lets you get to the contained objects. You also need appropriate permissions on the contained objects in order to do anything with them. regards, tom lane