Robert Haas escribió:
> Have you ever given any thought to whether it would be possible to
> implement referential integrity constraints with statement-level
> triggers instead of row-level triggers?
Well, one reason we haven't discussed this is because our per-statement
triggers are too primitive yet -- we don't have access to the list of
acted-upon tuples. As soon as we have that we can start discussing this
optimization.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.