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/config/toml.mdx
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -281,6 +281,27 @@ Sources define database connections. Each source represents a database that DBHu
281
281
```
282
282
</ParamField>
283
283
284
+
### search_path
285
+
286
+
<ParamFieldpath="search_path"type="string">
287
+
Comma-separated list of PostgreSQL schema names to set as the session `search_path`. The first schema in the list becomes the default schema for all discovery methods (`getTables`, `getTableSchema`, etc.).
288
+
289
+
**PostgreSQL only.**
290
+
291
+
```toml
292
+
[[sources]]
293
+
id = "production"
294
+
dsn = "postgres://user:pass@localhost:5432/mydb"
295
+
search_path = "myschema,public"
296
+
```
297
+
298
+
Without `search_path`, DBHub defaults to the `public` schema for all schema discovery operations.
299
+
300
+
<Note>
301
+
This option is **only available via TOML**. It is not supported as a DSN query parameter.
302
+
</Note>
303
+
</ParamField>
304
+
284
305
### SSH Tunnel Options
285
306
286
307
<ParamFieldpath="ssh_*"type="group">
@@ -575,6 +596,7 @@ default = 10
575
596
|`instanceName`| string | ❌ | SQL Server named instance |
576
597
|`authentication`| string | ❌ | SQL Server auth method |
0 commit comments