postgresql_16:6.10.1.32.1 Description
PostgreSQL 16 > Server Programming > Server Programming Interface > Interface Functions > SPI_register_trigger_data > Description
SPI_register_trigger_data makes any ephemeral relations captured by a trigger available to queries planned and executed through the current SPI connection. Currently, this means the transition tables captured by an AFTER trigger defined with a REFERENCING OLD/NEW TABLE AS ... clause. This function should be called by a PL trigger handler function after connecting.