52.45. pg_rewrite
pg_rewrite
The catalog pg_rewrite stores rewrite rules for tables and views.
Column Type Description |
|---|
oid Row identifier |
rulename Rule name |
ev_class The table this rule is for |
ev_type Event type that the rule is for: 1 = SELECT, 2 = UPDATE, 3 = INSERT, 4 = DELETE |
ev_enabled Controls in which [session_replication_role (enum)
|
is_instead True if the rule is an |
ev_qual Expression tree (in the form of a |
ev_action Query tree (in the form of a |
: pg_rewrite Columns
pg_class.relhasrules must be true if a table has any rules in this catalog.