| От | Craig Ringer |
|---|---|
| Тема | Re: Postgres: Starting Server in background mode |
| Дата | |
| Msg-id | 49DDCC55.9050309@postnewspapers.com.au обсуждение исходный текст |
| Ответ на | Postgres: Starting Server in background mode (CM J <postgres.newbie@gmail.com>) |
| Ответы |
Re: Postgres: Starting Server in background mode
|
| Список | pgsql-general |
CM J wrote: > Hi, > > To start the postgres server in background mode in windows, i > executed the following command: > > *runas /user:postgres "D:\postgres_new\pgsql\bin\pg_ctl.exe -W start -D > D:\postgres_new\pgsql\data -l D:\postgres_new\pgsql\data\logfile"* > > The postgres starts up all fine and logs get redirected.However, a > command window gets opened which says "server starting...". How do i disable > this command window ? Run Pg as a service, and use the "net" command or the "services.msc" snapin to start/stop the service. The GUI installer sets Pg up as a service by default. Why not use that? -- Craig Ringer
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера