Check PostgreSQL availability
low risk
Tests whether a server accepts connections.
pg_isready -h db -p 5432Check · explain & risk-check →Reference text is hand-written and may be incomplete — check man pg_isready for your version. Test destructive commands on a non-production system first.