Re: ERROR: heap_mark4update: (am)invalid tid in triggers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: heap_mark4update: (am)invalid tid in triggers
Дата
Msg-id 7379.1049475418@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ERROR: heap_mark4update: (am)invalid tid in triggers  (Kevin Hendrickson <hndrcksn@groupinfo.com>)
Список pgsql-general
Kevin Hendrickson <hndrcksn@groupinfo.com> writes:
> So what is the fix for situations where your table really needs
> a BEFORE action trigger? Is there a patch for Postgresql 7.3.2 that
> addresses this issue yet?

It is patched in CVS; here is the log entry:

2003-03-27 09:33  tgl

    * src/: backend/commands/trigger.c, backend/executor/execMain.c,
    include/commands/trigger.h (REL7_3_STABLE): GetTupleForTrigger must
    use outer transaction's command counter for time qual checking, not
    GetCurrentCommandId.  Per test case from Steve Wolfe.

We are starting to think about a 7.3.3 release, but in the meantime you
could pull the tip of the REL7_3_STABLE branch from our CVS server and
use that.  Or just get the diffs for the above three files and patch
manually.

            regards, tom lane


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

Предыдущее
От: nolan@celery.tssi.com
Дата:
Сообщение: Converting from dbase
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Meaning of .log_cnt? (WRT REPLICATION)