list_constraints
Retrieve all constraints on a PostgreSQL table, including primary key, unique, foreign key, check, and exclusion constraints, with their full definitions.
Instructions
All constraints on a table (primary key, unique, foreign key, check, exclusion) with their full definitions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| schema | No | public |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |