Use pg_ctl for readiness check

Using pg_ctl status is more reliable than relying checking an open port via netcat.

Created by  Tobias Pflug  on May 14, 2020
DL7F4E4CV5RYRH7AT2NXOEGZGI4GI43NZSKSTXJ6MRJKPVJFL3LQC
Change contents