Re: unbale to use pg_ctl in Windows Cmd. - Mailing list pgsql-admin

From Scott Ribe
Subject Re: unbale to use pg_ctl in Windows Cmd.
Date
Msg-id 7649CBF6-6384-438A-BA5C-1ADA40A980BD@elevated-dev.com
Whole thread Raw
In response to unbale to use pg_ctl in Windows Cmd.  (mark armon <1994hejian@gmail.com>)
Responses Re: unbale to use pg_ctl in Windows Cmd.  (mark armon <1994hejian@gmail.com>)
List pgsql-admin
> 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 by date:

Previous
From: mark armon
Date:
Subject: unbale to use pg_ctl in Windows Cmd.
Next
From: Ron
Date:
Subject: Re: unbale to use pg_ctl in Windows Cmd.