explain_lock
Analyze a DDL statement to see the PostgreSQL lock it acquires and its impact on your database. Use this to evaluate migration safety before applying changes.
Instructions
Explain what PostgreSQL lock a DDL statement acquires and its impact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | A single DDL statement to analyze | |
| pg_version | No | Target PostgreSQL version (default: 17) |