Re: pg_ctl problem

Поиск
Список
Период
Сортировка
От Gurjeet Singh
Тема Re: pg_ctl problem
Дата
Msg-id 65937bea0803040319j63835669t42ad59609fb5f55a@mail.gmail.com
обсуждение исходный текст
Ответ на pg_ctl problem  (<madhu.harchandani@wipro.com>)
Список pgsql-bugs
On Tue, Mar 4, 2008 at 4:11 PM, <madhu.harchandani@wipro.com> wrote:

>
>  When running the pg_ctl command  i am facing this error
>  pg_ctl: no database directory specified and environment variable PGDATA
> unset
>  I use other options also but no solution was found.
>  could someone help me on this
>
Thats not enough information to resolve anything. Please be a bit more
descriptive.

Anyway, its pretty clear that you do not have PGDATA set in the environment.
So you need to run the command as follows:

pg_ctl -D /your/postgres/data/directory start

RTFM will definitely help.

--=20
gurjeet[.singh]@EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | indiatimes | yahoo }.com

EnterpriseDB      http://www.enterprisedb.com

17=B0 29' 34.37"N,  78=B0 30' 59.76"E - Hyderabad
18=B0 32' 57.25"N,  73=B0 56' 25.42"E - Pune *
37=B0 47' 19.72"N, 122=B0 24' 1.69" W - San Francisco

http://gurjeet.frihost.net

Mail sent from my BlackLaptop device

В списке pgsql-bugs по дате отправления:

Предыдущее
От:
Дата:
Сообщение: pg_ctl problem
Следующее
От: "Gurjeet Singh"
Дата:
Сообщение: Re: pg_ctl problem