Re: GRANT USAGE ON SCHEMA

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Edwin UY <edwin(dot)uy(at)gmail(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: GRANT USAGE ON SCHEMA
Date: 2025-06-14 22:29:04
Message-ID: 49893.1749940144@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Edwin UY <edwin(dot)uy(at)gmail(dot)com> 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2025-06-14 23:19:06 Re: GRANT USAGE ON SCHEMA
Previous Message Edwin UY 2025-06-14 22:08:41 GRANT USAGE ON SCHEMA