Re: [GENERAL] Again: How the hell do I restart immediately

From: "Doran L(dot) Barton" <fozz(at)iodynamics(dot)com>
To: Ted Nolan SRI Augusta GA <ted(at)ags(dot)ga(dot)erg(dot)sri(dot)com>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Again: How the hell do I restart immediately
Date: 1999-10-08 19:37:13
Message-ID: 19991008133713.B28238@iodynamics.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Not long ago, Ted Nolan SRI Augusta GA proclaimed...
> Hmm, perhaps I'm missing something, but since the postmaster doesnt go
> into the background by default, couldn't you just run a script
> with a loop creating postmasters as they die? Something like:
>
> #! /bin/sh
>
> while :
> do
> postmaster >> post.out 2>&1
> done

One problem I see with solutions like this is that they disregard the
socket file kept in /tmp. The postmaster will croak if that file exists
when it tries to start again. Hmm.

-=Fozz

--
Doran L. Barton <fozz(at)iodynamics(dot)com>
Iodynamics LLC -- "Internetworking the masses"
<URL:http://www.iodynamics.com/>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Mascari 1999-10-08 19:46:45 Re: [GENERAL] Again: How the hell do I restart immediately
Previous Message Ted Nolan SRI Augusta GA 1999-10-08 18:35:26 Re: [GENERAL] Again: How the hell do I restart immediately