Transition tables
AFTER trigger transition tables (REFERENCING NEW/OLD TABLE) exposing all changed rows to statement-level triggers. Introduced in PostgreSQL 10.
Versions
- PostgreSQL 20 · worked-on · improved · moderate
Threads
- BUG #19902: DECLARE CURSOR over trigger transition table fails with XX000
- Stored generated columns are NULL in transition tables of partitioned tables
- [PATCH v1] Stale row estimates for transition tables
- Obsolete comments in ResultRelInfo struct
- Odd behavior of statement triggers with transition tables on partitions
- Problem with transition tables on partitioned tables with foreign-table partitions
- Document transition table triggers are not allowed on views/foreign tables
- Fix for a crash caused by triggers in cross-partition updates
- Transition relation clarification
- transition tables and UPDATE
- Error for row-level triggers with transition tables on partitioned tables
- can i pass the transition tables to any function from hooks like ExecutorFinish?
- BUG #15900: `executor could not find named tuplestore` in triggers with transition table and row locks
- BUG #15720: `executor could not find named tuplestore ABC` in AFTER DELETE trigger referencing OLD TABLE as ABC
- Statement-level Triggers
- BUG #15440: pg_dump does not preserve quoted identifiers for statement-level trigger transition table names
- Transition relations: correlating OLD TABLE and NEW TABLE
- Unexpected behavior with transition tables in update statement trigger
- oversight in EphemeralNamedRelation support
- BUG #14808: V10-beta4, backend abort
- Postponement of v10 release schedule
- BUG #14799: SELECT * FROM transition_table in a statement-level trigger
- COPY vs. transition tables
- Re: transition table behavior with inheritance appears broken (was: Declarative partitioning - another take)
- Transition tables vs ON CONFLICT
- PG10 transition tables, wCTEs and multiple operations on the same table
- RTE_NAMEDTUPLESTORE, enrtuples and comments
- Transition tables for triggers on foreign tables and views