*************** *** 162,168 **** { /* We have a compiled function, but is it still valid? */ if (!(function->fn_xmin == HeapTupleHeaderGetXmin(procTup->t_data) && ! function->fn_cmin == HeapTupleHeaderGetCmin(procTup->t_data))) { /* Nope, drop the function and associated storage */ delete_function(function); --- 162,168 ---- { /* We have a compiled function, but is it still valid? */ if (!(function->fn_xmin == HeapTupleHeaderGetXmin(procTup->t_data) && ! ItemPointerEquals(&function->fn_tid, &procTup->t_self))) { /* Nope, drop the function and associated storage */ delete_function(function);