F. Jovan Jester napsal(a):


svcs -a | grep postgres
(this command should show it is online, note the name, probably
something like svc:/application/database/postgresql:postgres)

then, as root do the following:

svcadm disable postgresql
(then do an svcs -a | grep postgres again to verify it's disabled)

That will stop it. To restart:

svcadm enable postgresql

also as root. any svcadm commands require root.

Just for completion. All user which has "Postgres Administration" profile assigned are allow to start/restart/stop/ server.

See http://www.sun.com/bigadmin/features/articles/postgresql_opensolaris.jsp for detail.


                Zdenek

                

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to