52.21. pg_rules#
The viewpg_rules provides access to useful information about query rewrite rules.
Table 52.21. pg_rules Columns
Column Type Description |
|---|
Name of schema containing table |
Name of table the rule is for |
Name of rule |
Rule definition (a reconstructed creation command) |
Thepg_rules view excludes theON SELECT rules of views and materialized views; those can be seen inpg_views andpg_matviews.