From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | YuanyuanLiu <liuyuanyuangogo(at)gmail(dot)com> |
Cc: | PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: Why not to use 'pg_ctl start -D ../data' to register posgtresql windows service |
Date: | 2015-11-02 12:33:15 |
Message-ID: | CAB7nPqQKFfxtyvhF62Jt+wYfjydJUAtRSdXY=FV5iMiSDUNLjQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Nov 2, 2015 at 9:30 PM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> On Mon, Nov 2, 2015 at 4:27 PM, YuanyuanLiu <liuyuanyuangogo(at)gmail(dot)com> wrote:
>> When we registered postgresql windows service named "postgres-9.4",
>> we can start the postgresql server by manually starting the windows service
>> , runing command "net stop postgres-9.4" (need user with administrator
>> privilege), or runing command "pg_ctl start -D ../path/to/data".
I think you mean "net start" to start the server here and not "net stop".
> Yep. Those are two examples to stop a registered service. You could
> use "sc stop postgres-9.4" as well. Note also that when a service
> registered is stopped with pg_ctl, SCM will recognize that the service
> has been stopped.
Er... I interpreted "start" by "stop" reading your last sentence.
Please ignore this paragraph.
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2015-11-02 12:35:12 | Re: pglogical_output - a general purpose logical decoding output plugin |
Previous Message | Michael Paquier | 2015-11-02 12:30:17 | Re: Re: Why not to use 'pg_ctl start -D ../data' to register posgtresql windows service |