From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Dorward Villaruz" <dorwardv(at)ntsp(dot)nec(dot)co(dot)jp> |
Cc: | "Postgres General" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: help in starting up / shutting down postgres as another user |
Date: | 2002-11-19 14:54:39 |
Message-ID: | 20788.1037717679@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Dorward Villaruz" <dorwardv(at)ntsp(dot)nec(dot)co(dot)jp> writes:
> we have an application that needs to restart postgres if it crashes.
Why do you think you need that?
Postmaster crashes (as opposed to crashes of individual backends) are so
rare in my experience that it's not worth worrying about; I'd certainly
not think that an external application having control over the
postmaster would be a net improvement in reliability.
I have seen some sites where the postmaster is spawned as a child of
init, so that if it does happen to die, init will automatically start
a new one. Might be worth doing if you're paranoid.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Treat | 2002-11-19 14:55:11 | Re: Enterprise readiness - mirroring / incremental backup |
Previous Message | Tom Lane | 2002-11-19 14:46:17 | Re: Enterprise readiness - mirroring / incremental backup solutions? |