pg_isready: add page (#9271)

pull/1/head
Thamaraiselvam (aka) Tham 2022-10-30 19:08:06 +08:00 committed by GitHub
parent 5f00d3a1ca
commit b53b33a074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# pg_isready
> Check the connection status of a PostgreSQL server.
> More information: <https://www.postgresql.org/docs/current/app-pg-isready.html>.
- Check connection:
`pg_isready`
- Check connection with a specific hostname and port:
`pg_isready --host={{hostname}} --port={{port}}`
- Check connection displaying a message only when the connection fails:
`pg_isready --quiet`