Update postgresql commands to be distro-agnostic