enum FiringState: string
Public API: explicitly declared with @visibility public.

Whether a trigger or rule fires, and in which session replication role.

Mirrors the tgenabled/evtenabled codes: ENABLE fires in origin and local mode, ENABLE REPLICA in replica mode, ENABLE ALWAYS in every mode, DISABLE never. Source: https://www.postgresql.org/docs/17/sql-altereventtrigger.html.

Reading the firing state of an event triggerdoctest
(new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('ALTER EVENT TRIGGER e ENABLE ALWAYS')->statement->state // => \SqlSemantics\Platform\PostgreSql\Statement\Table\Trigger\FiringState::EnableAlways

Cases§

case Enable = 'ENABLE'
case EnableReplica = 'ENABLE REPLICA'
case EnableAlways = 'ENABLE ALWAYS'
case Disable = 'DISABLE'

Methods§

public function keywords(): list<string>

Test cases 2§

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

Dedicated tests 1
Other tests reaching this symbol 1

Relations§

Method calls 1
Constant reads 4
Type declarations 1