Jinsoo Hwang <jshwang(at)anova(dot)inha(dot)ac(dot)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