You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration/pgdog.toml/databases.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,3 +79,22 @@ Indicates this database is a mirror of another one. All traffic sent to the `mir
79
79
For clusters with multiple databases, `mirror_of` must be identical in all entries. Otherwise, mirroring will be automatically disabled for that database.
80
80
81
81
Default: **`none`**
82
+
83
+
!!! note
84
+
All settings below take priority over values in [`[general]`](general.md) and [`[[users]]`](../users.toml/users.md) config sections.
85
+
86
+
### `pool_size`
87
+
88
+
Overrides the [`default_pool_size`](general.md#default_pool_size) setting. All connection pools for this database will open at most this many connections to Postgres.
89
+
90
+
### `statement_timeout`
91
+
92
+
Overrides the [`statement_timeout`](general.md#statement_timeout) setting. This sets the `statement_timeout` connection parameter on all connections to Postgres for this database.
93
+
94
+
### `idle_timeout`
95
+
96
+
Overrides the [`idle_timeout`](general.md#idle_timeout) setting. Idle server connections exceeding this timeout will be closed automatically.
97
+
98
+
### `read_only`
99
+
100
+
Sets the `default_transaction_read_only` connection parameter to `on` on all server connections to this database. Clients can still override it with `SET`.
0 commit comments