pgsql: Revert "Fix an O(N^2) problem in foreign key references".

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Revert "Fix an O(N^2) problem in foreign key references".
Дата
Msg-id [email protected]
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/541ec18acf2f6c8df095e45af980f59b82475d1e

Modified Files
--------------
src/backend/utils/adt/ri_triggers.c |   38 +++--------------------------------
1 file changed, 3 insertions(+), 35 deletions(-)


В списке pgsql-committers по дате отправления: