Re: How to detach a database

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: How to detach a database
Дата
Msg-id
1703941.1629383839@sss.pgh.pa.us
Ответ на
Re: How to detach a database (David G. Johnston)
Список
Дерево обсуждения
Re: How to detach a database "sivapostgres@yahoo.com" <sivapostgres@yahoo.com>
Re: How to detach a database "David G. Johnston" <david.g.johnston@gmail.com>
Re: How to detach a database Tom Lane <tgl@sss.pgh.pa.us>
"David G. Johnston"  writes:
> On Thursday, August 19, 2021, sivapostgres@yahoo.com 
> wrote:
>> Is there any way to make a PG database either in-active or switch to
>> single-user mode ?  We want to avoid DELETE database process.

> Probably can do it via changing the pg_hba.conf file.

Either that or revoke public CONNECT privilege on the database.

			regards, tom lane


В списке pgsql-general по дате отправления
От: David G. Johnston
Дата:
Сообщение: Re: How to detach a database
От: Rich Shepard
Дата:
FAQ