How to restart postgresql 8.4 on Debian Squeeze?
/etc/init.d/postgresql stop/start/restart
does nothing (no output given).
How to restart postgresql 8.4 on Debian Squeeze?
/etc/init.d/postgresql stop/start/restart
does nothing (no output given).
From the online documentation...
pg_ctl restart [-w] [-t seconds] [-s] [-D datadir] [-c] [-m s[mart] | f[ast] | i[mmediate] ] [-o options]
pg_ctl is a utility for starting, stopping, or restarting the PostgreSQL backend server (postgres), or displaying the status of a running server. Although the server can be started manually, pg_ctl encapsulates tasks such as redirecting log output and properly detaching from the terminal and process group. It also provides convenient options for controlled shutdown.
Oh, and since I ignored this detail in your answer, but now have reason to question it... the default location of postgresql 8.4 is: /etc/init.d/postgresql-8.4
, not /etc/init.d/postgresql
as you have in your question.