pgsql: Ensure that the result tuple of an EvalPlanQual cycle gets

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Ensure that the result tuple of an EvalPlanQual cycle gets
Дата
Msg-id 20091211181443.D1EDD753FB7@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Ensure that the result tuple of an EvalPlanQual cycle gets materialized
before we zap the input tuple.  Otherwise, pass-by-reference columns of
the result slot are likely to contain just references to the input
tuple, leading to big trouble if the pfree'd space is reused.  Per
trouble report from Jaime Casanova.  This is a new bug in the recent
rewrite of EvalPlanQual, so nothing to back-patch.

Modified Files:
--------------
    pgsql/src/backend/executor:
        execMain.c (r1.336 -> r1.337)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c?r1=1.336&r2=1.337)

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

Предыдущее
От: itagaki@postgresql.org (Takahiro Itagaki)
Дата:
Сообщение: pgsql: Add large object access control.
Следующее
От: fxjr@pgfoundry.org (User Fxjr)
Дата:
Сообщение: npgsql - Npgsql2: Bug: Money to Decimal conversion.