*** ../src/backend/parser/parse_func.c.orig Sun Dec 20 17:35:27 1998 --- ../src/backend/parser/parse_func.c Wed Dec 23 06:50:44 1998 *************** *** 225,231 **** } } /* otherwise, don't bother keeping this one around... */ ! else { last_candidate->next = NULL; } --- 225,231 ---- } } /* otherwise, don't bother keeping this one around... */ ! else if (last_candidate != NULL) { last_candidate->next = NULL; } *************** *** 399,406 **** } else { ! elog(ERROR,"Unable to select an aggregate function for type '%s'", ! typeidTypeName(basetype)); } } --- 399,406 ---- } else { ! elog(ERROR,"Unable to select an aggregate function %s(%s)", ! funcname, typeidTypeName(basetype)); } }