Fwd: not able to give usage access to public schema

From: sekhar chandra <sekharclouddbengineer(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Fwd: not able to give usage access to public schema
Date: 2020-06-12 22:56:51
Message-ID: CAB7a7NaYcD9U+uWrMni7zstsQJSf2e9KKcyp5pzHSwuz4BbtMw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am not able to give usage permission to public schema. below are the
steps.

Logged in as super user
created a new user as user1
grant usage on public to user1

command completed successfully , but verification statement showing he
doesnt have usage permission.
SELECT rolname, has_schema_privilege(rolname, 'public', 'usage') from
pg_roles;

this is strage. what could go wrong.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter 2020-06-13 03:24:53 Re: Something else about Redo Logs disappearing
Previous Message raf 2020-06-12 22:56:48 Re: Changing from security definer to security invoker without dropping ?