Managing PostgreSQL Process on Ubuntu - service, pg_ctl and pg_ctlcluster
If you've ever dealt a bit more seriously with PostgreSQL, and gone through different online articles and examples, chances are that you've ran to pg_ctl
command. Being Ubuntu user, I've often wondered what is the difference between starting PostgreSQL by using Ubuntu-native service
command and pg_ctl
. After some research I've found out what is the catch, and here I'll share this with you.