51.43. pg_rewrite
The catalog pg_rewrite stores rewrite rules for tables and views.
Table 51.43. pg_rewrite Columns
| Column Type Description |
|---|
|
Row identifier |
|
Rule name |
|
The table this rule is for |
|
Event type that the rule is for: 1 = |
|
Controls in which session_replication_role modes the rule fires. |
|
True if the rule is an |
|
Expression tree (in the form of a |
|
Query tree (in the form of a |
Note
pg_class.relhasrulesmust be true if a table has any rules in this catalog.
© 1996–2021 The PostgreSQL Global Development Group
Licensed under the PostgreSQL License.
https://www.postgresql.org/docs/13/catalog-pg-rewrite.html