Skip to content

Run pg_isready until the database is ready

Simon Tomlinson requested to merge fix-pg-isready into master

pg_isready does not retry until the database is ready. Instead, it is designed to be run in a loop, and returns nonzero exit codes until the database is ready for connections.

Also stops passing password to pg_isready, since it does not need it

Merge request reports