Ulrich Neumann<u_neumann(at)gne(dot)de> writes:
> ERROR: fmgr_info: function 117833728: cache lookup failed
This is evidently an attempt to look up a garbage function OID (none
of the real function OIDs that might be encountered during initdb are
more than a couple thousand).
For this to happen during initdb implies that there's something pretty
broken about the server executable you're using. What platform are you
on, what compiler are you using, what configure options did you select,
etc etc?
regards, tom lane