final class RewriteRules
Restricted visibility: declared "@visibility SqlSemantics\Platform\PostgreSql". Code outside that scope must not name this declaration.

Derives and writes CREATE RULE.

Rule: PG-REWRITE-RULE-001. The table is resolved (PG-TABLE-TARGET-001) and is the relation fact of the statement; a materialized view, a foreign table or a sequence cannot have rules (PG-RELATION-KIND-001). The WHERE condition sees OLD and NEW (PG-OLD-NEW-001). Each action is derived as a statement whose enclosing scope holds OLD and NEW, reachable with a qualifier only ("Within

  • condition and command, the special table names NEW and OLD can be used to
  • refer to values in the referenced table"); a NOTIFY action has no

expression. Source: https://www.postgresql.org/docs/17/sql-createrule.html. Termination: one pass over the actions. Status: Implemented.

Methods§

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Instantiated in 2
Method calls 2