PostgreSQL could be restarted by an automatic security update. See https://help.ubuntu.com/community/AutomaticSecurityUpdates