Postgres-start process under administrator account

Can I start the postgres process with a user account that has "administrative" privileges? I am on Windows XP.

- Error shown --- (Not exactly an error, this is a security feature)

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.

The current job is to create a normal user and start the process under this. I am looking for a quick way to start a database, perform some operations, and close it as part of the build process.

+3
source share
1 answer

(years later)

Postgres comes with a management program. See official documentation for more details.

Short answer:

pg_ctl start "args" 
+4
source

Source: https://habr.com/ru/post/1771302/


All Articles