ok first you need to edit update-rc.d and add postgresql to whitelist and comment in blacklist
nano /usr/sbin/update-rc.d
# Blacklist
# postgresql disabled (comment)

#Whitelist
postgresql...