commands.sh

pg_isready

all

Check the connection status of a PostgreSQL server.

More info →

Options (3)

-h, --hostboolean

Check connection with a specific hostname and port

Example: pg_isready {{[-h|--host]}} {{hostname}} {{[-p|--port]}} {{port}}
-p, --portboolean

Check connection with a specific hostname and port

Example: pg_isready {{[-h|--host]}} {{hostname}} {{[-p|--port]}} {{port}}
-q, --quietboolean

Check connection displaying a message only when the connection fails

Example: pg_isready {{[-q|--quiet]}}

Examples (3)

Check connection

Check connection with a specific hostname and port

pg_isready [-h|--host] hostname [-p|--port] port

Check connection displaying a message only when the connection fails

pg_isready [-q|--quiet]
made by @shridhargupta | data from tldr-pages