There's a few daemons I disable from starting on boot-up. As an example, I use the following:
sudo update-rc.d -f postgresql remove I'm not even sure if that command is correct and I don't remember where I got it from.
Anyways, whenever I upgrade postgresql, the setting is lost (i.e. the daemon starts up on reboot).