]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Revert "Fix an O(N^2) problem in foreign key references".
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Sep 2015 15:08:56 +0000 (11:08 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Sep 2015 15:09:16 +0000 (11:09 -0400)
commited301d6dbe32eaad4f226903d430336e5a0d72aa
tree4ca484a91bb367aba39aa45ae0144f68232b30be
parent225f539bd00ad58bac41d8d30bd0bd112f8c6a29
Revert "Fix an O(N^2) problem in foreign key references".

Commit 5ddc72887a012f6a8b85707ef27d85c274faf53d does not actually work
because it will happily blow away ri_constraint_cache entries that are
in active use in outer call levels.  In any case, it's a very ugly,
brute-force solution to the problem of limiting the cache size.
Revert until it can be redesigned.
src/backend/utils/adt/ri_triggers.c