Re: unbale to use pg_ctl in Windows Cmd.

Поиск
Список
Период
Сортировка
От mark armon
Тема Re: unbale to use pg_ctl in Windows Cmd.
Дата
Msg-id CACh77r6HFZZf6niDZTo31vpGjijTUa8Z_=1HRLjv5aQbnBXq6Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: unbale to use pg_ctl in Windows Cmd.  (Scott Ribe <scott_ribe@elevated-dev.com>)
Ответы Re: unbale to use pg_ctl in Windows Cmd.
Список pgsql-admin

Problem resolved. But I just don’t know why.
So I need to add the data directory. like pg_ctl status -D 'C:\Program Files\PostgreSQL\13\data'



On Sat, Dec 5, 2020 at 10:54 PM Scott Ribe <scott_ribe@elevated-dev.com> wrote:
> On Dec 5, 2020, at 10:02 AM, mark armon <1994hejian@gmail.com> wrote:
>
> I don't know where the pg_data directory.

You will have to find it to use pg_ctl

> So I set the C:\Users\Think\Desktop\postgres\data as user variable and system variable In windows setting.

Doesn't do any good if that's not where the data directory is.

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

Предыдущее
От: Ron
Дата:
Сообщение: Re: unbale to use pg_ctl in Windows Cmd.
Следующее
От: Ron
Дата:
Сообщение: Re: unbale to use pg_ctl in Windows Cmd.