postgresql 7.4 restart server code example Example: postgresql server restart sudo service postgresql start