Re: Shutdown fails with both 'fast' and 'immediate'

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Shutdown fails with both 'fast' and 'immediate'
Дата
Msg-id 4652.1273674753@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Shutdown fails with both 'fast' and 'immediate'  (David Schnur <dnschnur@gmail.com>)
Ответы Re: Shutdown fails with both 'fast' and 'immediate'  (David Schnur <dnschnur@gmail.com>)
Список pgsql-admin
David Schnur <dnschnur@gmail.com> writes:
> I develop an app that uses a back-end Postgres database, currently 8.3.9.
>  The database is started when the app starts up, and stopped when it shuts
> down.  Shutdown uses pg_ctl with -m fast, and waits two minutes for the
> process to complete.  If it doesn't, it tries -m immediate, and waits two
> more minutes before logging an error and giving up.

Hm, does it shut down properly if you use -m immediate immediately
instead of trying fast first?

            regards, tom lane

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

Предыдущее
От: David Schnur
Дата:
Сообщение: Shutdown fails with both 'fast' and 'immediate'
Следующее
От: Kenneth Marshall
Дата:
Сообщение: Re: Shutdown fails with both 'fast' and 'immediate'