Installed Postgres-XC
$>sudo apt-get install postgres-xc
then
$ postgres -V
postgres (PostgreSQL) 9.2.4
after this I tried to start the Postgres server using following methods.
method 1
$>sudo postgres --coordinator -D DN2
"root" execution of the PostgreSQL server is not permitted.
The server must be started under an unprivileged user ID to prevent
possible system security compromise. See the documentation for
more information on how to properly start the server.
method2
$ sudo -i -u postgres
sudo: unknown user: postgres
sudo: unable to initialize policy plugin
and installed pgadmin3 also from there I want to connect Postgres server .
what is the correct way to start the Postgres-XC server?
Is the above procedure correct? if yes what is wrong with it?