> Bruce Momjian wrote:
> > This will try a pg_ctl shutdown for 60 seconds, then kill pg_ctl. You
> > would then need a kill of you own.
>
> I missed something somehwere: wasn't the consensus a few weeks ago that
> pg_ctl shouldn't be used for a system initscript? Or did I black out
> that day? :-) I certainly have no problem using pg_ctl for this purpose
> -- as I have been using pg_ctl to start postmaster all along (then why
> am I not using it to stop -- don't answer that :-))......
I don't remember that discussion. My guess was that you didn't want
pg_ctl to hang forever. My script handles that, I think.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
In response to
pgsql-hackers by date
| Next: | From: Tom Lane | Date: 2001-03-06 03:10:18 |
| Subject: Re: How to shoot yourself in the foot: kill -9 postmaster |
| Previous: | From: Lamar Owen | Date: 2001-03-06 03:06:41 |
| Subject: Re: How to shoot yourself in the foot: kill -9 postmaster |