PG_RULES
PG_RULES displays information about rewrite rules.
| Column | Type | Description |
|---|---|---|
| schemaname | Name | Name of the schema that contains the table |
| tablename | Name | Name of the table the rule is for |
| rulename | Name | Rule name |
| definition | Text | Rule definition (a reconstructed creation command) |