PG_REWRITE
PG_REWRITE records rewrite rules defined for tables and views.
| Name | Type | Description |
|---|---|---|
| rulename | name | Rule name |
| ev_class | oid | Name of the table that uses the rule |
| ev_attr | smallint | Column this rule is for (always 0 to indicate the entire table) |
| ev_type | "char" | Event type for this rule:
|
| ev_enabled | "char" | Controls in which mode the rule fires
|
| is_instead | Boolean | Its value is true if the rule is an INSTEAD rule. |
| ev_qual | pg_node_tree | Expression tree (in the form of a nodeToString() representation) for the rule's qualifying condition |
| ev_action | pg_node_tree | Query tree (in the form of a nodeToString() representation) for the rule's action |
Last Article: PG_RESOURCE_POOL
Next Article: PG_SECLABEL
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.