Robert Haas <robertmhaas(at)gmail(dot)com> writes:
- elog(ERROR, "something has gone wrong");+ elog(ERROR, "unrecognized AuxProcType: %d", (int) auxtype);
+1 ... the existing message is clearly not up to project standard.
regards, tom lane