https://www.postgresql.org/docs/current /statico/app-pg-è pronto.html
-bash-4.2$ if pg_isready93 -d postgres://localhost:5432/template; then echo "200 OK"; else echo "500 NOT OK"; fi
200 OK
-bash-4.2$ if pg_isready93 -d postgres://localhost:5430/template; then echo "200 OK"; else echo "500 NOT OK"; fi
500 NOT OK
ringraziamenti ad Abelsto - Non mi verrebbe in mente pg_isready
in questo contesto