License
MIT License
v0.1.2 · public · Published 28 days ago
postgres alive check
Usage:
check-postgres-alive [flags]
check-postgres-alive [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
version Print the version number of this plugin
Flags:
-d, --database string Database schema to connect to (default "postgres")
-h, --help help for check-postgres-alive
--hostname string Hostname to login to (default "localhost")
-p, --password string Password for user
-f, --pgpass string Location of .pgpass file for access to postgres
--port uint Port to connect to (default 5432)
-s, --sslmode string SSL mode for connecting to postgres (default "prefer")
-u, --user string postgres user to connect
Use "check-postgres-alive [command] --help" for more information about a command.
The check connects to the supplied postgres database and returns OK if it works. Ini file overrides commandline arguments for user/pass.
Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.
×