pgsql: Release any detoasted copies of arrays that are made temporarily

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Release any detoasted copies of arrays that are made temporarily
Дата
Msg-id 20080125044607.D891B754108@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Release any detoasted copies of arrays that are made temporarily in
ri_FetchConstraintInfo, to avoid a query-duration memory leak when that
routine is called by RI_FKey_keyequal_upd_fk (which isn't executed in a
short-lived context).  This problem was latent when the routine was added
in February, but it didn't become serious until the varvarlena patch made
it quite likely that the fields being examined would be "toasted" (ie, have
short headers).  Per report from Stephen Denne.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        ri_triggers.c (r1.101 -> r1.102)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ri_triggers.c?r1=1.101&r2=1.102)

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

Предыдущее
От: jbcooley@pgfoundry.org (User Jbcooley)
Дата:
Сообщение: npgsql - Npgsql2: wrapped code in #ifdef ENTITIES since this class also
Следующее
От: darold@pgfoundry.org (User Darold)
Дата:
Сообщение: ora2pg - ora2pg: Imported Sources