"Bob Pawley" <rjpawley@shaw.ca> writes:
> Hope this elucidates you?
No, it's all handwaving. In particular, showing only a fragment from
a case that does work as you expect doesn't illuminate what's not
working. Please show the whole table definition, the whole trigger,
and the specific case that's not doing what you expect.
regards, tom lane