pg_execute_sql
Run any SQL statement (INSERT/UPDATE/DELETE/DDL) on a Postgres database connection. Blocked when the connection's read-only mode is enabled.
Instructions
Run any SQL statement (INSERT/UPDATE/DELETE/DDL) against a configured Postgres connection. Blocked when that connection's own readOnly mode is enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| connectionId | No | Id of the postgres connection to use, from databases.config.yml. Optional when only one postgres connection is configured. |