but the documentation does not say I shouldn't be able to do it.  Additionally, an alternate method (which was not included) using temporary tables works fine.  It fails when switching to the old record.

thanks
cyrus

Tom Lane wrote:
Cyrus Downey <cdowney@pryermachine.com> writes:
  
According to the documentation I should be able to use the OLD record
in the dynamic command passed to the Execute statement.
    

The documentation promises no such thing.

			regards, tom lane