From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | celati Laurent <laurent(dot)celati(at)gmail(dot)com> |
Cc: | "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Give default privileges to another SuperUser ? |
Date: | 2022-02-17 21:17:49 |
Message-ID: | CAKFQuwYOdGZ6Hi_1NRyAV4YjVbTvuhQLvY+M=Gd0ZtJ5UBcmiQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Feb 17, 2022 at 2:14 PM celati Laurent <laurent(dot)celati(at)gmail(dot)com>
wrote:
>
>> ALTER DEFAULT PRIVILEGES IN SCHEMA XXX GRANT SELECT ON TABLES TO "user";
>
>
> Does a person know how to give privileges to a SuperUser role so that when
> he creates a new table, whether in the public schema or another schema, the
> table will be by default visible,
>
ALTER DEFAULT PRIVILEGES
[ FOR { ROLE | USER } target_role [, ...] ]
This use case is why the "FOR target_role" clause exists.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2022-02-17 21:19:48 | Re: frequency of positive and negative numbers, sizes of numbers and frequency of alteration of polarity |
Previous Message | Shaozhong SHI | 2022-02-17 20:11:10 | frequency of positive and negative numbers, sizes of numbers and frequency of alteration of polarity |