postgresql_16:7.2.13.2 Options
PostgreSQL 16 > Reference > PostgreSQL Client Applications > pg_isready > Options
**-d *dbname*, --dbname=*dbname***
Specifies the name of the database to connect to. The *dbname* can be a connection string (see postgresql_16:5.1.1.1). If so, connection string parameters will override any conflicting command line options.
**-h *hostname*, --host=*hostname***
Specifies the host name of the machine on which the server is running. If the value begins with a slash, it is used as the directory for the Unix-domain socket.
**-p *port*, --port=*port***
Specifies the TCP port or the local Unix-domain socket file extension on which the server is listening for connections. Defaults to the value of the PGPORT environment variable or, if not set, to the port specified at compile time, usually 5432.
-q, --quiet
Do not display status message. This is useful when scripting.
**-t *seconds*, --timeout=*seconds***
The maximum number of seconds to wait when attempting connection before returning that the server is not responding. Setting to 0 disables. The default is 3 seconds.
**-U *username*, --username=*username***
Connect to the database as the user *username* instead of the default.
-V, --version
Print the pg_isready version and exit.
-?, --help
Show help about pg_isready command line arguments, and exit.