I'm kind of new to PostgreSQL and I'm having problems finding how to restart Postgresql. I've been using Postgresql on the system for some weeks at least but all of sudden I couldn't connect any longer. I'm running Postgresql 10.1 on macOS High Sierra using pgAdmin3.
From my search I noticed postgresql is no longer running or listening on port 5432. I checked the logs and I noticed the last items on the logs show: