restart postgresql using pgadmin code example Example: restart postgresql sudo /etc/init.d/postgresql restart