Обсуждение: pgsql: Repair "Halloween problem" in EvalPlanQual: a tuple that's been

Поиск
Список
Период
Сортировка

pgsql: Repair "Halloween problem" in EvalPlanQual: a tuple that's been

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Repair "Halloween problem" in EvalPlanQual: a tuple that's been inserted by
our own command (or more generally, xmin = our xact and cmin >= current
command ID) should not be seen as good.  Else we may try to update rows
we already updated.  This error was inserted last August while fixing the
even bigger problem that the old coding wouldn't see *any* tuples inserted
by our own transaction as good.  Per report from Euler Taveira de Oliveira.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        trigger.c (r1.177.4.2 -> r1.177.4.3)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/trigger.c.diff?r1=1.177.4.2&r2=1.177.4.3)
    pgsql/src/backend/executor:
        execMain.c (r1.241.4.1 -> r1.241.4.2)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c.diff?r1=1.241.4.1&r2=1.241.4.2)
    pgsql/src/include/executor:
        executor.h (r1.115.4.1 -> r1.115.4.2)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/executor.h.diff?r1=1.115.4.1&r2=1.115.4.2)