How about a simple
" telnet localhost 5432 " ?
assuming postmaster is listening on that host and port
On Fri, 17 Sep 2004, Sandeep Gaikwad wrote:
> Hello Sir,
> I want to know how to check whether postgres database is
> running or not ? when I give command like ./postmaster -i &, whether all
> databases in that postgres will run or any one [default] ? If any one, then
> how to detect that database ?
> Thanks and regards,
In response to
pgsql-sql by date
|Next:||From: Richard Sydney-Smith||Date: 2004-09-20 03:16:47|
|Subject: Test for file exists?|
|Previous:||From: Christopher Browne||Date: 2004-09-20 01:33:00|
|Subject: Re: How to check postgres running or not ?|