Jinsoo Hwang <jshwang@anova.inha.ac.kr> writes:
> ERROR plpgsql: cache lookup for proc 163937 failed.
I suspect that you deleted and recreated the function after
creating the trigger. Currently you must recreate the trigger
after you recreate the function --- but the system won't tell
you so in any direct fashion. Annoying, isn't it?
regards, tom lane