GetTupleForTrigger must use outer transaction's command counter for time

Tom Lane <tgl@sss.pgh.pa.us>

Commit: bf576cc01482ffcdd7c22cf7502e6568076d49a5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-03-27T14:33:11Z
Releases: 7.4.1
GetTupleForTrigger must use outer transaction's command counter for time
qual checking, not GetCurrentCommandId.  Per test case from Steve Wolfe.

Files

PathChange+/−
src/backend/commands/trigger.c modified +20 −13
src/backend/executor/execMain.c modified +5 −3
src/include/commands/trigger.h modified +8 −6