Revert "Fix an O(N^2) problem in foreign key references".
Commit 5ddc7288 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.
Showing
Please register or sign in to comment