execute_query
Run read-only SQL on Postgres via DBeaver, with automatic SSH tunnel handling and retrieval of all result sets.
Instructions
Run read-only SQL inside a READ ONLY transaction. Multiple SELECTs return every result set (not only the last). SSH tunnels open automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Connection name or id, e.g. "ACME LIVE" | |
| query | Yes | SELECT / WITH / EXPLAIN / SHOW. Multiple statements allowed. | |
| maxRows | No | Row cap per statement (default 200) | |
| timeoutMs | No | Statement timeout in ms (default 30000) |