https://www.postgresql.org/docs/current /static/app-pg-isready.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
krediter till Abelisto - jag skulle inte tänka på pg_isready
i detta sammanhang