No, there is no danger of restarting postgres using the init.d method.
However, restarting it because something strange happened is not a good idea, because it severely limits the amount of information you can collect to find the root cause and limits the possibilities for correcting it.
Also, for all the years when I was engaged in postgresql, I never faced a situation where restarting "fixed" the problem. The immediate βincidentβ can be resolved, but if there is a problem, it will still be there.
Peter Tillemans Sep 01 '10 at 17:38 2010-09-01 17:38
source share