Re: Is postgres installed?

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: christophe(dot)andre(at)elsys-design(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Is postgres installed?
Date: 2010-05-21 18:55:10
Message-ID: 4BF6D70E.3050006@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 21/05/2010 14:43, christophe(dot)andre(at)elsys-design(dot)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(at)iol(dot)ie

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma 2010-05-21 19:01:05 Re: getting all constraint violations
Previous Message Gauthier, Dave 2010-05-21 18:46:12 Re: getting all constraint violations