Skip to content
Snippets Groups Projects
Commit b246510c authored by Tom Lane's avatar Tom Lane
Browse files

Avoid O(N^2) behavior in deferredTriggerAddEvent() for large numbers of

tuples inserted/deleted/updated in a single transaction.  On my machine,
this reduced the time to delete 80000 tuples in a foreign-key-referencing
table from ~15min to ~8sec.
parent 74c732cb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment