From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-sql@postgresql.org
Subject: Re: How to check postgres running or not ?
Date: Sat, 18 Sep 2004 20:36:47 +0200
Message-ID: <cihv80$mb2$1@floppy.pyrenet.fr> (raw)
In-Reply-To: <414A7395.8070503@vertex.co.in>
References: <414A7395.8070503@vertex.co.in>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: mendola@bigfoot.com
Subject: Re: How to check postgres running or not ?
In-Reply-To: <cihv80$mb2$1@floppy.pyrenet.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox