Re: Basic Questions about PostgreSQL.

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Basic Questions about PostgreSQL.
Дата
Msg-id CAKFQuwbVifHzCdcFDLN3NBY7W+T+nC54DKXK6voODd3uX+9Fyw@mail.gmail.com
обсуждение исходный текст
Ответ на Basic Questions about PostgreSQL.  (A Z <poweruserm@live.com.au>)
Список pgsql-general
On Wednesday, September 15, 2021, A Z <poweruserm@live.com.au> wrote:
-In PostgreSQL, what is the difference between Roles, Groups


There is none, aside from convention.  Roles are generic, groups don’t get login rights while users do.

You might want to clarify what you mean by policy since referencing the “create policy” command seems out of place here.

 
-Is there a simple, immediate, straightforward way to temporarily disable PostgreSQL database
use of all other users, except development users, or in fact just one user (one developer, yourself)
so that maintenance on the data or the data model may be performed?


Manipulating the pg_hba.comf file is usually the most efficient method.

Though since connect privileges are usually left as strictly inherited from public by default revoking connect from public will most likely prevent non-superusers from connecting to databases.

Though it seems unusual that maintenance would require such extreme measures to be taken.

David J.

В списке pgsql-general по дате отправления:

Предыдущее
От: Guyren Howe
Дата:
Сообщение: Re: SQL queries as sets: was The tragedy of SQL
Следующее
От: Brent Wood
Дата:
Сообщение: Re: SQL queries as sets: was The tragedy of SQL