Search Postgresql Archives

Postgres server startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" ??

Thanks!




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux