Обсуждение: postmaster

Поиск
Список
Период
Сортировка

postmaster

От
eoghan
Дата:
Hi
Im running postgres on OS X 10.4.2. Im having a problem starting
postgres though... but its maybe something dumb im doing...
So i su -l postgres and cd to my /opt/local/bin where postmaster is...
But i always get a:
-su: postmaster: command not found
Its there. Anyone know what im doing wrong? I can run postmaster asaa
another user but i dont own the data folder in that case...
Eoghan

Re: postmaster

От
Tom Lane
Дата:
eoghan <postgres@redry.net> writes:
> Im running postgres on OS X 10.4.2. Im having a problem starting
> postgres though... but its maybe something dumb im doing...
> So i su -l postgres and cd to my /opt/local/bin where postmaster is...
> But i always get a:
> -su: postmaster: command not found
> Its there. Anyone know what im doing wrong?

On most Unixen, "." is not in the default PATH, for pretty good security
reasons.  You can either say "./postmaster ...", or forget the "cd" and
just do "/opt/local/bin/postmaster ...".

            regards, tom lane