Re: help in starting up / shutting down postgres as another

Поиск
Список
Период
Сортировка
Искать
От
scott.marlowe
Тема
Re: help in starting up / shutting down postgres as another
Дата
Msg-id
Pine.LNX.4.33.0211220935120.25374-100000@css120.ihs.com
Ответ на
Список
Дерево обсуждения
Re: help in starting up / shutting down postgres as another Medi Montaseri <medi.montaseri@intransa.com>
On Fri, 22 Nov 2002, Jan Weerts wrote:

> > we have an application that needs to restart postgres if it
> >crashes.
> 
> This is not a solution, postgres should provide, as it is OS-related.
> As Tom already stated, crashes are rare (we never had one in the last
> years) and if it crashed it obviously cannot control anything else :-)
> 
> If crashes are not the main problem, I'd recommend sudo (exists for
> many unix derivates) or equivalents. It can selectively grant the
> "other" user the right to execute a postgres startup script/executable
> as the postgres user, without the need to share passwords or grant
> more rights than necessary.

I just wanna chime in on the "postgres never crashes" thread.

I haven't had postgres crash since I handed 6.5.3 an unconstrained join on 
two rather large tables.  And even that took almost an hour before 
postgres used up all memory and swap and the linux kernel killed it, so 
technically, postgres didn't crash, it just didn't know when to stop 
trying to deliver an undeliverable dataset.

Postgres doesn't crash.  Not on good hardware (i.e. error free memory and 
CPU).  

В списке pgsql-general по дате отправления
От: Don Isgitt
Дата:
Сообщение: Re: Lack of use of indexes
От: Doug McNaught
Дата:
Сообщение: Re: Lack of use of indexes
FAQ