Hi,
Per Coverity.
If test oldtuple can be NULL, I mean it can really be NULL.On DELETE process, if oldtuple is NULL, log error and continue.So UPDATE must have the same treatment.
regards,Ranier Vilela