Re: unbale to use pg_ctl in Windows Cmd.

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: mark armon <1994hejian(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: unbale to use pg_ctl in Windows Cmd.
Date: 2020-12-05 17:24:30
Message-ID: 7649CBF6-6384-438A-BA5C-1ADA40A980BD@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> On Dec 5, 2020, at 10:02 AM, mark armon <1994hejian(at)gmail(dot)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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ron 2020-12-05 21:22:53 Re: unbale to use pg_ctl in Windows Cmd.
Previous Message mark armon 2020-12-05 17:02:38 unbale to use pg_ctl in Windows Cmd.