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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kevin Hendrickson <hndrcksn(at)groupinfo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ERROR: heap_mark4update: (am)invalid tid in triggers
Date: 2003-04-04 16:56:58
Message-ID: 7379.1049475418@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kevin Hendrickson <hndrcksn(at)groupinfo(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2003-04-04 17:08:38 Re: Meaning of <sequence>.log_cnt? (WRT REPLICATION)
Previous Message nolan 2003-04-04 16:56:12 Converting from dbase