Re: Basic Questions about PostgreSQL.

Поиск
Список
Период
Сортировка
От rob stone
Тема Re: Basic Questions about PostgreSQL.
Дата
Msg-id 61c72117499fc76f99542e2c889e8841b6e2db49.camel@gmail.com
обсуждение исходный текст
Ответ на Basic Questions about PostgreSQL.  (A Z <poweruserm@live.com.au>)
Ответы Re: Basic Questions about PostgreSQL.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general

On Wed, 2021-09-15 at 05:10 +0000, A Z wrote:
> -In PostgreSQL, what is the difference between Roles, Groups, and
> Policies exactly? What are they each, how do they relate to one
> another, and which one(s) can be assigned to another?
> 
> -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?
> 

Read
https://www.postgresql.org/docs/13/app-postgres.html#id-1.9.5.14.6.5

about single user mode.
You shut down the cluster and run psql in single user mode.
After you quit out of single user mode, restart.

HTH,
Rob





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

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: The tragedy of SQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Basic Questions about PostgreSQL.