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,
> Sandeep.
>