PG_RULES
PG_RULES provides access to query useful information about rewrite rules.
Table 1 PG_RULES columns
| Name | Type | Description | 
|---|
| schemaname | name | Name of the schema that contains a table | 
| tablename | name | Name of the table to which the rule applies | 
| rulename | name | Name of a rule | 
| definition | text | Rule definition (a reconstructed creation command) | 
openGauss 2025-10-31 07:42:18