Re: Is postgres installed? - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: Is postgres installed?
Date
Msg-id 4BF6D70E.3050006@iol.ie
Whole thread Raw
In response to Is postgres installed?  (christophe.andre@elsys-design.com)
List pgsql-general
On 21/05/2010 14:43, christophe.andre@elsys-design.com wrote:

> How I know whether Postgres is already installed or not on a machine(on
> Linux and Windows)?
> I found that pg_ctl --version could be used or I also tried to check into
> the registry (for windows HKLM\SOFTWARE\PostgreSQL\Installations), however
> with Windows Server 2003 pg_ctl is not recognized (probably not in the
> path) and the registries are not written (nothing appears under
> HKLM\SOFTWARE\)

On Windows, you could just have a look in c:\program files\postgresql.
There are usually some items in the Start Menu also.

On Linux, you'll see if it's actually running by doing

  ps ax | grep postgres

or the like... If it's not running, where you'd look for the files
varies from one distro to another, but using "find" should throw up some
of them.

Ray.


--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

pgsql-general by date:

Previous
From: "Gauthier, Dave"
Date:
Subject: Re: getting all constraint violations
Next
From: Richard Broersma
Date:
Subject: Re: getting all constraint violations