Restarting PostgreSQL Server

To start PostgreSQL server, run:

Linux:

# /etc/rc.d/init.d/postgresql start

FreeBSD:

# /usr/local/etc/rc.d/010.pgsql.sh start

To stop PostgreSQL, run:

Linux:

# /etc/rc.d/init.d/postgresql stop

FreeBSD:

# /usr/local/etc/rc.d/010.pgsql.sh stop

To restart PostgreSQL, run:

Linux:

# /etc/rc.d/init.d/postgresql restart

FreeBSD:

# /usr/local/etc/rc.d/010.pgsql.sh stop
# sleep 10
# /usr/local/etc/rc.d/010.pgsql.sh start