Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Hmm, maybe it should be using regprocedure instead?
Not unless you want to break initdb. The only reason regproc still
exists, really, is to accommodate loading of pg_type during initdb.
Guess what: we can't do type lookup at that point.
regards, tom lane