Update README.md

This commit is contained in:
Lev Kokotov
2022-09-23 12:24:30 -07:00
committed by GitHub
parent 19fd677891
commit e84a6f834c

View File

@@ -60,8 +60,7 @@ psql -h 127.0.0.1 -p 6432 -c 'SELECT 1'
| **`user`** | | | | **`user`** | | |
| `name` | The user name. | `sharding_user` | | `name` | The user name. | `sharding_user` |
| `password` | The user password in plaintext. | `hunter2` | | `password` | The user password in plaintext. | `hunter2` |
| `statement_timeout` | Timeout in milliseconds for how long a query takes to execute | `0 (disabled)` | | `statement_timeout` | Timeout in milliseconds for how long a query takes to execute | `0 (disabled)`
| | | | | | | |
| **`shards`** | Shards are numerically numbered starting from 0; the order in the config is preserved by the pooler to route queries accordingly. | `[shards.0]` | | **`shards`** | Shards are numerically numbered starting from 0; the order in the config is preserved by the pooler to route queries accordingly. | `[shards.0]` |
| `servers` | List of servers to connect to and their roles. A server is: `[host, port, role]`, where `role` is either `primary` or `replica`. | `["127.0.0.1", 5432, "primary"]` | | `servers` | List of servers to connect to and their roles. A server is: `[host, port, role]`, where `role` is either `primary` or `replica`. | `["127.0.0.1", 5432, "primary"]` |