Re: need a method to ping a running database - Mailing list pgsql-general

From Erik Price
Subject Re: need a method to ping a running database
Date
Msg-id 3EE870E4.4030103@ptc.com
Whole thread Raw
In response to need a method to ping a running database  (Travis Hume <travis.hume@tenzing.com>)
List pgsql-general

Travis Hume wrote:

> to determine if the database had been started.  There are a couple of
> problems with this method.  It seems that if you start postgresql and
> then issue a "kill -9" on the postmaster processes a .pid file is left
> behind (understandable), but then if you run "pg_ctl status" it will
> immediately report that the database is running and give you the pid
> number and whatever else.

I've seen this message at the bottom of some emails to this list:


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster






Erik


pgsql-general by date:

Previous
From: Jan Wieck
Date:
Subject: Re: [pgsql-advocacy] MySQL gets $19.5 MM
Next
From: Jan Wieck
Date:
Subject: Re: [HACKERS] SAP and MySQL ... [and Benchmark]