2010-10-25 93 views
3

是否可以使用具有「管理」權限的用戶帳戶啓動postgres進程?我在Windows XP上。postgres-在管理員帳戶下啓動進程

--error顯示的是---(不是真的錯誤,這是一項安全功能)

The server must be started under an unprivileged user ID to prevent 
possible system security compromises. See the documentation for 
more information on how to properly start the server. 

目前的解決辦法是建立在正常的用戶和運行過程。我所看到的是快速啓動數據庫,執行一些操作並將其作爲構建過程的一部分關閉的方法。

+0

是Postgres的過程開始whilest啓動Windows或從STARTMENU你想與啓動獨立啓動/停止命令? – DrColossos 2010-10-25 12:52:16

+0

我想做它作爲構建過程的一部分。 (一個螞蟻的任務,具體而言) – Jayan 2010-10-25 12:53:10

回答

4

(年後)

Postgres附帶一個控制程序。詳情請參閱official documentation

簡短的回答:

pg_ctl start "args" 
+0

我試過在Windows 8.1上工作 – ajaristi 2015-10-14 02:41:11

相關問題