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

Builds the scope where OLD and NEW stand for the old and new row of a table, as triggers and rules see them.

Rule: PG-OLD-NEW-001. OLD and NEW are two relations with the row shape of the table (system columns included). In a trigger's WHEN condition and a rule's WHERE condition both can be read by column name alone, so a name that is a column of the table is ambiguous unless qualified; in the actions of a rule they are reachable with a qualifier only. Source: https://www.postgresql.org/docs/17/sql-createtrigger.html, https://www.postgresql.org/docs/17/sql-createrule.html. 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 3
Method calls 4