Thomas Munro wrote:
> Recall that transition tables can be specified for statement-level
> triggers AND row-level triggers. If you specify them for row-level
> triggers, then they can see all rows changed so far each time they
> fire.
Uhmm ... why do we do this? It seems like a great way to cause much
confusion. Shouldn't we see the transition table containing the whole
set for statement-level triggers only, and give row-level triggers just
the individual affected row each time?
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services