pg_refresh_materialized_view
Refresh a PostgreSQL materialized view to update its data. Supports concurrent refresh; blocked when connection readOnly mode is enabled.
Instructions
Refresh a materialized view. Blocked when that connection's own readOnly mode is enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | Yes | Materialized view name | |
| schema | No | Schema to filter by. Defaults to the connection's defaultSchema (or 'public'). | |
| concurrently | No | Whether to refresh concurrently (requires unique index on the view) | |
| connectionId | No | Id of the postgres connection to use, from databases.config.yml. Optional when only one postgres connection is configured. |