Re: Taking database offline
От | Bruce Momjian |
---|---|
Тема | Re: Taking database offline |
Дата | |
Msg-id | 200311131454.hADEsZ608721@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Taking database offline (ow <oneway_111@yahoo.com>) |
Ответы |
Re: Taking database offline
|
Список | pgsql-admin |
ow wrote: > > --- Bruce Momjian <pgman@candle.pha.pa.us> wrote: > > > > Rather than restart the server (kicking everyone out), does 'reload' > > help to keep new users out and let the old ones leave on their own? > > > > Not really ... users (old or new) should not work with the db unless it's > completely loaded. Restarting the server will affect activity in other dbs in > that cluster which is not desirable :( IMHO, there should be a way to do this > without restarting the server. You can restrict pg_hba.conf to not allow connections just to one database if you want. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-admin по дате отправления: