Re: Postgresql goes down need to restart (redhat postgresql service script) lock files removal avoid 2 postmasters

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Postgresql goes down need to restart (redhat postgresql service script) lock files removal avoid 2 postmasters
Дата
Msg-id 20030508194131.GA4130@wolff.to
обсуждение исходный текст
Ответ на Postgresql goes down need to restart (redhat postgresql service script) lock files removal avoid 2 postmasters  (mlaks <mlaks@bellatlantic.net>)
Список pgsql-admin
On Thu, May 08, 2003 at 14:57:15 -0400,
  mlaks <mlaks@bellatlantic.net> wrote:
>
> 1. check for a running postmaster
> 2  if not delete the /var/lib/pgsql/data/postmaster.pid files
>
> where would we go wrong with duplicate postmistresses?

postmaster already does that, but there may be cases where it thinks there
is a running postmater and there really isn't. In that case you would
need to verify this, remove the lock file and start by hand.

Having two postmasters running at the same time for the same data
directory will corrupt your databases.


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

Предыдущее
От: Jeff Boes
Дата:
Сообщение: SET STATISTICS value recorded where?
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Postgresql goes down need to restart (redhat postgresql service script) lock files removal avoid 2 postmasters