Re: Is postgres installed?

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Is postgres installed?
Дата
Msg-id 4BF6D70E.3050006@iol.ie
обсуждение исходный текст
Ответ на Is postgres installed?  (christophe.andre@elsys-design.com)
Список 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 по дате отправления:

Предыдущее
От: "Gauthier, Dave"
Дата:
Сообщение: Re: getting all constraint violations
Следующее
От: Richard Broersma
Дата:
Сообщение: Re: getting all constraint violations