Re: pg_ctl reload query

Поиск
Список
Период
Сортировка
Искать
От
Andrew Sullivan
Тема
Re: pg_ctl reload query
Дата
Msg-id
20080221170244.GL17293@crankycanuck.ca
Ответ на
pg_ctl reload query (Shilpa Sudhakar)
Список
Дерево обсуждения
pg_ctl reload query Shilpa Sudhakar <ssudhakar@internode.com.au>
Re: pg_ctl reload query Andrew Sullivan <ajs@crankycanuck.ca>
Re: pg_ctl reload query Shilpa Sudhakar <ssudhakar@internode.com.au>
On Thu, Feb 21, 2008 at 04:01:00PM +1030, Shilpa Sudhakar wrote:
> Hi All,
> 
> Wanted to know what does pg_ctl do in the background when we run *pg_ctl 
> -D datadir reload *

It sends a SIGHUP to the back end.
 
> command. Generally, it just reloads the files and everything works fine.
> But strangely, last time when we ran the reload command and tried to 
> access *psql dbname, *
> It gives a message *"database shutting down" *

Are you sure you didn't issue "restart" instead?  It's an easy enough
mistake to make.

A
В списке pgsql-admin по дате отправления
От: Alvaro Herrera
Дата:
Сообщение: Re: Stable Release?
От: Joshua D. Drake
Дата:
Сообщение: Re: Stable Release?
FAQ