aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-03-12 23:02:00 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-03-12 23:02:00 +0000
commitb246510ccc8db96bf7a536a305cccf65aab21ce8 (patch)
tree1b08d59b3fe5e95ceb0604f0ac8e49fd30c995dc /src/backend/access/transam/xlogutils.c
parent74c732cb87318b73d172320869aedd64fbdd4388 (diff)
downloadpostgresql-b246510ccc8db96bf7a536a305cccf65aab21ce8.tar.gz
postgresql-b246510ccc8db96bf7a536a305cccf65aab21ce8.zip
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.
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions