1.

How can we start, restart and stop the PostgreSQL server?

Answer» service postgresql start
  • Once the server is successfully started, we get the below message:
Starting PostgreSQL: ok
  • To restart the PostgreSQL server, we run:
service postgresql restart

Once the server is successfully restarted, we get the message:

RESTARTING PostgreSQL: server stoppedok
  • To stop the server, we run the command:
service postgresql stop

Once stopped successfully, we get the message:

STOPPING PostgreSQL: server stoppedok


Discussion

No Comment Found