Fixed the lack of dbname passed to read_postmaster_pid: it was used to form an error message. Also made the message more informative.