From: Scott Ribe <scott_ribe@elevated-dev.com>
To: mark armon <1994hejian@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: unbale to use pg_ctl in Windows Cmd.
Date: Sat, 5 Dec 2020 10:24:30 -0700
Message-ID: <7649CBF6-6384-438A-BA5C-1ADA40A980BD@elevated-dev.com> (raw)
In-Reply-To: <CACh77r77PdO6qnX6FGDbu2XJEA1art7btFZkXzMOb4GrdPzk1A@mail.gmail.com>
References: <CACh77r77PdO6qnX6FGDbu2XJEA1art7btFZkXzMOb4GrdPzk1A@mail.gmail.com>
> 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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: scott_ribe@elevated-dev.com, 1994hejian@gmail.com
Subject: Re: unbale to use pg_ctl in Windows Cmd.
In-Reply-To: <7649CBF6-6384-438A-BA5C-1ADA40A980BD@elevated-dev.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox