Re: documentation udpates to pgupgrade.html

Поиск
Список
Период
Сортировка
От Colin 't Hart
Тема Re: documentation udpates to pgupgrade.html
Дата
Msg-id AANLkTi=5GtZA5DaHTQoxUx-LN46eYoemOz19TJujZWH3@mail.gmail.com
обсуждение исходный текст
Ответ на Re: documentation udpates to pgupgrade.html  ("Massa, Harald Armin" <chef@ghum.de>)
Список 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@ghum.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
>


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Unable to generate man pages for translated sgml
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: recovery.conf location