mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 08:22:08 +02:00
pg_isready: add page (#9271)
This commit is contained in:
parent
5f00d3a1ca
commit
b53b33a074
1 changed files with 16 additions and 0 deletions
16
pages/common/pg_isready.md
Normal file
16
pages/common/pg_isready.md
Normal 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`
|
Loading…
Add table
Reference in a new issue