From: | "Colin 't Hart" <colinthart(at)gmail(dot)com> |
---|---|
To: | "Massa, Harald Armin" <chef(at)ghum(dot)de> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: documentation udpates to pgupgrade.html |
Date: | 2010-09-29 18:27:11 |
Message-ID: | AANLkTi=5GtZA5DaHTQoxUx-LN46eYoemOz19TJujZWH3@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Oops.
Apparently type= service is the default, so we can remove that bit.
Then we should add state= all. The default = active, a third option = inactive.
So:
sc query state= all
should list all services, in all states.
And then we pipe to find which is the Windows equivalent of grep, but
it needs to have its parameter in double quotes.
So:
sc query state= all | find "postgresql"
Regards,
Colin
On 29 September 2010 19:26, Massa, Harald Armin <chef(at)ghum(dot)de> wrote:
> Colin,
>
>>
>> To query for Postgresql services on Windows use:
>>
>> sc query type= service | find "postgresql"
>
> sad news is that (at least on my computer) it only finds running services.
>
> Harald
>
> --
> GHUM GmbH
> Harald Armin Massa
> Spielberger Straße 49
> 70435 Stuttgart
> 0173/9409607
>
> Amtsgericht Stuttgart, HRB 734971
> -
> persuadere.
> et programmare
>
From | Date | Subject | |
---|---|---|---|
Next Message | James Robinson | 2010-09-29 18:45:20 | Postgres vs. intel ccNUMA on Linux |
Previous Message | Peter Eisentraut | 2010-09-29 17:30:20 | Re: Unable to generate man pages for translated sgml |