pgsql: Fix portalmem.c to avoid keeping a dangling pointer to a cached

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix portalmem.c to avoid keeping a dangling pointer to a cached
Дата
Msg-id 20100118023025.EE5067541B9@cvs.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Fix portalmem.c to avoid keeping a dangling pointer to a cached  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-committers
Log Message:
-----------
Fix portalmem.c to avoid keeping a dangling pointer to a cached plan list
after it's released its reference count for the cached plan.  There are
code paths that might try to examine the plan list before noticing that
the portal is already in aborted state.  Report and diagnosis by Tatsuo
Ishii, though this isn't exactly his proposed patch.

Modified Files:
--------------
    pgsql/src/backend/utils/mmgr:
        portalmem.c (r1.115 -> r1.116)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mmgr/portalmem.c?r1=1.115&r2=1.116)

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

Предыдущее
От: fxjr@pgfoundry.org (User Fxjr)
Дата:
Сообщение: npgsql - Npgsql2: Changed NpgsqlInet test method name to better explain
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix portalmem.c to avoid keeping a dangling pointer to a cached