Re: How to check postgres running or not ?

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: How to check postgres running or not ?
Date: 2004-09-18 18:36:47
Message-ID: cihv80$mb2$1@floppy.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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 ?

Well, in the $DATADIR you habe postmaster.pid that contains the supposed pid...

Regards
Gaetano Mendola

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Worik 2004-09-19 01:57:02 Re: How to check postgres running or not ?
Previous Message Christopher Browne 2004-09-18 17:20:15 Re: How to check postgres running or not ?