52.44. pg_rewrite
The catalog pg_rewrite
stores rewrite rules for tables and views.
Table 51.44. pg_rewrite
Columns
Name | Type | References | Description |
|
|
| Row identifier (hidden attribute; must be explicitly selected) |
|
|
| Rule name |
|
| The table this rule is for | |
|
|
| Event type that the rule is for: 1 = |
|
|
| |
|
|
| True if the rule is an |
|
|
| Expression tree (in the form of a |
|
|
| Query tree (in the form of a |
Note
pg_class.relhasrules
must be true if a table has any rules in this catalog.
Last updated