I would like to know correct way of starting/stopping postgres database. There are two ways
pg_ctl start/stopservice postgresql start/stop
I would like to know how they are different from each other, which one should I use? are their any pros/cons.
I check online but didnt get satisfactory answer.
Thanks in advance