| От | John R Pierce |
|---|---|
| Тема | Re: Postgres server startup |
| Дата | |
| Msg-id | 49E5832F.7010508@hogranch.com обсуждение исходный текст |
| Ответ на | Postgres server startup (CM J <postgres.newbie@gmail.com>) |
| Список | pgsql-general |
CM J wrote:
> Hi,
>
> When logged in as administrator, i start the postgres server
> with the following command:
>
> runas /user:postgres "D:\postgres_new\pgsql\bin\pg_ctl.exe start -D
> D:\postgres_new\pgsql\data"
>
> The problem is "runas" cmd is not script friendly as i can
> not pass the password as a cmd line argument.Is there any way i can
> start the postgres server using pg_ctl.exe while logged in as
> administrator without using "runas" ??
why isn't it installed as a Windows Service, then any administrator can
start it with....
NET START PGSQL_8.3
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера