how to restart psql code example
Example 1: how to restart psql in linux
sudo service postgresql restart
# To restart the postgresql service
Example 2: restart postgreSql from terminal
pg_ctl -D "C:\Program Files\PostgreSQL\12\data" restartCode language: JavaScript (javascript)