Use same arguments format in README
This commit is contained in:
parent
dcb07c225e
commit
beae2b2dc9
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue