diff --git a/README.md b/README.md index 7e2f5ac..c949b63 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ With `pgterminate`, you shouldn't be paged at night because some queries has loc * `active` sessions are backends in `active` state for more than `active-timeout` seconds. * `idle` sessions are backends in `idle`, `idle in transaction` or `idle in transaction (abort)` state for more than `idle-timeout` seconds. * at least one of `active-timeout` and `idle-timeout` parameter is required, both can be used. -* `pgterminate` relies on `libpq` for PostgreSQL connection. When `-host` is ommited, connection via unix socket is used. When `-user` is ommited, the unix user is used. And so on. +* `pgterminate` relies on `libpq` for PostgreSQL connection. When `host` is ommited, connection via unix socket is used. When `user` is ommited, the unix user is used. And so on. * time parameters, like `connect-timeout`, `active-timeout`, `idle-timeout` and `interval`, are represented in seconds. They accept float value except for `connect-timeout` which is an integer. * if you want `pgterminate` to terminate any session, ensure it has SUPERUSER privileges. Since 9.6, grant `pg_signal_backend` role for terminating all sessions except superusers.